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

11. What will be the output of the program?

Screenshot 7

A. 8, 10
B. 10, 2
C. 8, 1
D. Garbage values

Correct Answer: A. 8, 10
Advertisement

12. What will be the output of the program assuming that the array begins at location 1002 and the size of an integer is 4 bytes?

Screenshot 8

A. 448, 4, 4
B. 520, 2, 2
C. 1006, 2, 2
D. Error

Correct Answer: C. 1006, 2, 2
Advertisement

13. What will be the output of the program?

Screenshot 9

A. 2, 3
B. 2, 0
C. 2, Garbage value
D. 0, 0

Correct Answer: B. 2, 0
Advertisement

14. What will be the output of the program ?

Screenshot 10

A. No output
B. 30
C. 3
D. 300

Correct Answer: D. 300
Advertisement

15. What will be the output of the program?

What will be the output of the program

A. Error: in printf
B. Nothing will print
C. print “X” of GkFeed
D. print “7”

Correct Answer: C. print “X” of GkFeed
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?