Pointers – Find Output of Program

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

7. What will be the output of the program?

Screenshot 2

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

Correct Answer: C. K

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

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

10. What will be the output of the program?

Screenshot 5

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

Correct Answer: D. JACK

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?