
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.
1. What is the range of signed char data type in C Programming?
A. 0 to 255
B. -128 to +127
C. -32768 to +32767
D. 0 to 65535
View Answer
2. What is the range of unsigned char data type in C Programming?
A. -128 to + 127
B. 0 to 255
C. -32768 to +32767
D. 0 to 65535
View Answer
3. 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
4. What is the range of short unsigned int data type in C Programming?
A. -128 to + 127
B. 0 to 255
C. -32768 to +32767
D. 0 to 65535
View Answer
5. How many byte(s) reserved by signed char in C programming?
A. 1 byte
B. 2 bytes
C. 4 bytes
D. 8 bytes
View Answer
6. Which is the format modifier used for signed char in C programming?
A. %d
B. %c
C. %u
D. %ld
View Answer
7. 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
8. Which is the format modifier used for unsigned char in C programming?
A. %d
B. %c
C. %u
D. %ld
View Answer
9. What is the range of 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
10. How many byte(s) reserved by signed int in C programming?
A. 1 byte
B. 2 bytes
C. 4 bytes
D. 8 bytes
View Answer