C programming language MCQs - All MCQs
basics, Variables, Data Types
11. How many types of constant in the C programming language?
A. 3 types
B. 2 types
C. 4 types
View Answer
12. What is the range of long signed int data type in C Programming?
A. -32768 to +32767
B. 0 to 65535
C. -2147483648 to +2147483647
D. 0 to 4294967295
View Answer
13. What is variable in programming?
A. an entity that may change
B. an entity that does not have value
C. an entity that does not change
View Answer
14. In programming, A character denotes any Alphabet, digit, or _____ ?
A. Constant
B. Special Symbol
C. Variable
D. Keyword
View Answer
15. Which is the type not in Secondary Constants?
A. Array
B. Pointer
C. Integer
D. Structure
View Answer
16. Which type of result will be returned after performing an arithmetic operation between an integer and an integer?
A. Character
B. Integer
C. Real
D. Null
View Answer
17. How many byte(s) reserved by unsigned char in C programming?
A. 1 byte
B. 2 bytes
C. 4 bytes
D. 8 bytes
View Answer
18. Which is not the right Rule for constructing an Integer constant?
A. An integer constant must have at least one digit
B. It must not have a decimal point
C. It can be either positive or negative
D. Commas or blanks are allowed within an integer constant
View Answer
19. Which is the format modifier used for unsigned char in C programming?
A. %d
B. %c
C. %u
D. %ld
View Answer
20. Which is the format modifier used for long signed int in C programming?
A. %d
B. %f
C. %ld
D. %lu
View Answer
