Declarations and Initializations – True / False Questions

1. A long double can be used if range of a double is not enough to accommodate a real number.

A. True
B. False

Correct Answer: A. True

2. A float is 4 bytes wide, whereas a double is 8 bytes wide.

A. True
B. False

Correct Answer: A. True

3. If the definition of the external variable occurs in the source file before its use in a particular function, then there is no need for an extern declaration in the function.

A. True
B. False

Correct Answer: A. True

4. Size of short integer and long integer can be verified using the sizeof() operator.

A. True
B. False

Correct Answer: A. True

5. Range of double is -1.7e-38 to 1.7e+38 (in the 16-bit platform – Turbo C under DOS)

A. True
B. False

Correct Answer: B. False

Warning: Undefined variable $in_same_cat in /www/wwwroot/mtexam.com/public_html/wp-content/plugins/EXP.GKFEED.COM/function.php on line 27

Warning: Undefined variable $excluded_categories in /www/wwwroot/mtexam.com/public_html/wp-content/plugins/EXP.GKFEED.COM/function.php on line 27

Leave A Comment?