Question
#include<stdio.h>
int main()
{
int i = 10, j = 15;
if(i % 2 = j %3)
printf("Placementadda\n");
return 0;
}
Which of the following statements are correct about the below program?
#include<stdio.h>
int main()
{
int i = 10, j = 15;
if(i % 2 = j %3)
printf("Placementadda\n");
return 0;
}
Answer: Option B
Was this answer helpful ?
if(i % 2 = j % 3) This statement generates "LValue required error".
There is no variable on the left side of the expression to assign (j % 3).
Was this answer helpful ?
Submit Solution