Warning: implode(): Invalid arguments passed in /www/wwwroot/jobquiz.info/mdiscuss.php on line 336 Which of the following statements are correct about the below program? #include<stdio.h> int main() { int i = 10, j = 20; if(i = 5) && if(j = 10) printf("Have a nice day"); return 0; } ?->(Show Answer!)
1. Which of the following statements are correct about the below program? #include<stdio.h> int main() { int i = 10, j = 20; if(i = 5) && if(j = 10) printf("Have a nice day"); return 0; }
Ask Your Doubts Here
Comments
By: guest on 01 Jun 2017 06.01 pm
"Expression syntax" error occur in this line if(i = 5) && if(j = 10). It should be like if((i == 5) && (j == 10)).