Q15: Find errors in followings:


A15:


(1)   int x; = It does not have any error.

(2)   float x = ‘10’; = It attempts to assign a character constant '10' to a float variable x.

(3)   long char b = It does not have semicolon (;).

(4)   #define PI = 3.14 = It uses assignment operator (=) which is not allowed.

Post a Comment

0 Comments
* Please Don't Spam Here. All the Comments are Reviewed by Admin.