C programming language MCQs - All MCQs
basics, Variables, Data Types
21. What will be result of following (5/2) in C programing language?
A. 2.5
B. 2
C. 3
D. 1
View Answer
22. How many byte(s) reserved by long double in C programming?
A. 2 bytes
B. 4 bytes
C. 8 bytes
D. 10 bytes
View Answer
23. In programming, A character denotes any Alphabet, digit, or _____ ?
A. Constant
B. Special Symbol
C. Variable
D. Keyword
View Answer
24. 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
25. What is the range of long unsigned int data type in C Programming?
A. -32768 to +32767
B. 0 to 65535
C. -2147483648 to +2147483647
D. 0 to 4294967295
View Answer
26. Which is not the right Rule for constructing an Character constant?
A. A character constant is a single alphabet
B. Single special symbol enclosed within double inverted commas
C. A single-digit or a single special symbol enclosed within single inverted commas
View Answer
27. How many byte(s) reserved by long unsigned int in C programming?
A. 1 byte
B. 2 bytes
C. 4 bytes
D. 8 bytes
View Answer
28. What is the range of short signed int data type in C Programming?
A. -128 to + 127
B. 0 to 255
C. -32768 to +32767
D. 0 to 65535
View Answer
29. What is the range of double data type in C Programming?
A. 0 to 4294967295
B. -3.4e38 to +3.4e38
C. -1.7e308 to +1.7e308
D. -1.7e4932 to +1.7e4932
View Answer
30. 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
