Declarations and Initializations – True / False Questions


Warning: Undefined variable $ext in /www/wwwroot/gkfeed.com/public_html/wp-content/plugins/show-hidecollapse-expand/bg_show_hide.php on line 281

Warning: Undefined variable $ext in /www/wwwroot/gkfeed.com/public_html/wp-content/plugins/show-hidecollapse-expand/bg_show_hide.php on line 281

Warning: Undefined variable $ext in /www/wwwroot/gkfeed.com/public_html/wp-content/plugins/show-hidecollapse-expand/bg_show_hide.php on line 281

Warning: Undefined variable $ext in /www/wwwroot/gkfeed.com/public_html/wp-content/plugins/show-hidecollapse-expand/bg_show_hide.php on line 281

Warning: Undefined variable $ext in /www/wwwroot/gkfeed.com/public_html/wp-content/plugins/show-hidecollapse-expand/bg_show_hide.php on line 281

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
Advertisement

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

A. True
B. False

Correct Answer: A. True
Advertisement

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
Advertisement

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

A. True
B. False

Correct Answer: A. True
Advertisement

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
Advertisement

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

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

Leave A Comment?