Home
MCQs
C programming language MCQs
All MCQs
C programming language MCQs

C programming language MCQs - All MCQs

basics, Variables, Data Types

41. 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

Answer: B

42. 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

Answer: D

43. 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

Answer: D

44. How many byte(s) reserved by signed int in C programming?

A. 1 byte

B. 2 bytes

C. 4 bytes

D. 8 bytes

Answer: B