C programming language MCQs - Data Types
There are three varieties of data types MCQs in C programming languages char, int, and float. These primary data types have several sub types for different usages. To fully understand and learn about these data types, you need to explore it through solving MCQs with answers.
21. How many byte(s) reserved by double in C programming?
A. 2 bytes
B. 4 bytes
C. 8 bytes
D. 10 bytes
View Answer
22. Which is the format modifier used for double in C programming?
A. %d
B. %f
C. %lf
D. %Lf
View Answer
23. 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
24. What is the range of long 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
25. Which is the format modifier used for long double in C programming?
A. %d
B. %f
C. %lf
D. %Lf
View Answer
26. 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
