Pointers – Find Output of Program


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

6. What will be the output of the program ?

Screenshot 1

A. Error: cannot convert from void** to int**
B. Garbage value
C. 0
D. No output

Correct Answer: C. 0
Advertisement

7. What will be the output of the program?

Screenshot 2

A. Error
B. No output
C. K
D. %s

Correct Answer: C. K
Advertisement

8. What will be the output of the program?

Screenshot 3

A. 10
B. 20
C. Error: Non portable pointer conversion
D. Error: cannot use static for function parameters

Correct Answer: D. Error: cannot use static for function parameters
Advertisement

9. What will be the output of the program if the size of pointer is 4-bytes?

Screenshot 4

A. 2, 1
B. 2, 2
C. 4, 1
D. 4, 2

Correct Answer: C. 4, 1
Advertisement

10. What will be the output of the program?

Screenshot 5

A. JCK
B. J65K
C. JAK
D. JACK

Correct Answer: D. JACK
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?