What will be the output of below C program?
no error no output
compile time error lvalue required.
it gives compile time error. because if(11=i) is an assignment operation where we are trying to assign value of i to 11 which is not possible. because 11 is not a variable it is an integer constant. we can't assign values to constant values. if we try to do so, it prints lvalue required error.
Back To Top