Pointers – Point Out Errors

1. Point out the compile time error in the program given below.

Screenshot 1

A. Error: invalid assignment for x
B. Error: suspicious pointer conversion
C. No error
D. None of above

Correct Answer: C. No error

2. Point out the error in the program

Screenshot 2

A. Error: Declaration syntax
B. Error: Expression syntax
C. Error: LValue required
D. Error: Rvalue required

Correct Answer: C. Error: LValue required

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?