- Control Instructions - General Questions
- Control Instructions - Find Output of Program
- Control Instructions - Point Out Errors
- Control Instructions - Point Out Correct Statements
- Control Instructions - True / False Questions
- Control Instructions - Yes / No Questions


Control Instructions - Programming
Q1: 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;
}
A Output: Have a nice day
B No output
C Error: Expression syntax
D Error: Undeclared identifier if ANS:A - Output: Have a nice day 'Expression syntax' error occur in this line if(i = 5) && if(j = 10). It should be like if((i == 5) && (j == 10)). |


For help Students Orientation
Mcqs Questions
One stop destination for examination, preparation, recruitment, and more. Specially designed online test to solve all your preparation worries. Go wherever you want to and practice whenever you want, using the online test platform.