For 16-bit compiler allowable range for integer constants is ________?
A. -3.4e38 to 3.4e38
B. -32767 to 32768
C. -32668 to 32667
D. -32768 to 32767
Answer: Option D
Solution(By Examveda Team)
In a 16 Bit C compiler we have 2 bytes to store an integer, and 1 byte for a character.For unsigned integers the range is 0 to 65535.
For signed integers the range is -32768 to 32767.
For unsigned character, 0 to 255
Join The Discussion
Comments ( 4 )
Related Questions on C Fundamentals
What is the primary purpose of a function prototype in C?
A. Declare a variable
B. Declare a function
C. Define a function
D. Assign a value
What is the correct syntax for declaring a variable in C?
A. int variable_name;
B. variable_name = 5;
C. variable_name int;
D. int = variable_name;
Explain sir
plz explain sir....☺️
how can we show that a 16 bit compiler cannot show the value which is out of this range? please give me example.
how