-
-
-
-
-
-
-
-
-
-
-
-
-
Point out the error, if any, in the following program main() { int a=10,b; a>= 5 ? b=100 : b=200; printf("n%d",b); }
lvalue required in function main(). The second assignment should be written in parenthesis as follows: a>= 5 ? b=100 : (b=200);
-
-
-
-
-
-
-
lvalue required in function main(). The second assignment should be written in parenthesis as follows: a>= 5 ? b=100 : (b=200);
Please Turn OFF your ad blocker
- OR -
LOGIN to continue using GeekInterview website.