Expressions – Yes / No 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

1. Are the following two statement same?

1. a <= 20 ? (b = 30): (c = 30);
2. (a <=20) ? b : (c = 30);

A. Yes
B. No

Correct Answer: B. No
Advertisement

2. Two different operators would always have different Associativity.

A. Yes
B. No

Correct Answer: B. No
Advertisement

3. Will the expression *p = p be disallowed by the compiler?

A. Yes
B. No

Correct Answer: B. No
Advertisement

4. Every operator has an Associativity

A. Yes
B. No

Correct Answer: A. Yes
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?