HOME | LAB PROGRAMMING | RATIONAL ROSE DIAGRAM | COMPUTE GRAPHICS | CLASS DIAGRAM | NETWORK PROGRAMING | BEST OF THE SITE

Increment and decrement error

void main()
{
int x=1,y=1;
x++=y;
printf(“%d”,x);
}


Tutorial answer:
Error Lvalue required
Debugging solution:
++/-- it is apply only to the right sight not left sight ,if we give like that x=y++; then it will execute,

0 comments: