What does “lvalue required” mean in a C compiler error? [closed]
#include<stdio.h> //line 1 #include<conio.h> //line 2 void main() //line 3 { //line 4 int a=6,g=7,b=3; //line 5 clrscr(); //line 6 printf("%d",a>?g=a:g=b); //line 7 getch(); //line 8 } Case 1: before saving the file This will give an error at line no 7 'Lvalue required'. But when I compile no error will come and after running, it produced output 3. Case 2 : after saving the file And when we save this file then we get an error "Lvalue required'. sorry for my mistake and Write question here #include<stdio.h> //line 1 #include<conio.h> //line 2 void main() //line 3 { //line 4 int a=6,g=7,b=3; /