MCQs
Total Questions : 15
| Page 2 of 2 pages
Answer: Option B. -> - 128
signed char will be a negative number.
Output:
$ cc pgm2.c
$ a.out
-128
Answer: Option A. -> equal
0.1f results in 0.1 to be stored in floating point representations.
Output:
$ cc pgm5.c
$ a.out
equal
Answer: Option A. -> a
None.
Output:
$ cc pgm3.c
$ a.out
a
Answer: Option B. -> not equal
0.1 by default is of type double which has different representation than float resulting in inequality even after conversion.
Output:
$ cc pgm4.c
$ a.out
not equal
Answer: Option C. -> short is the qualifier and int is the basic datatype
None.