Thread: LValue Required
View Single Post
  #1 (permalink)  
Old 07-05-2008, 12:56 AM
Goodluck Goodluck is offline
Newbie
 
Join Date: Mar 2008
Posts: 13
Rep Power: 0
Goodluck is on a distinguished road
Default LValue Required

Hello

I have written the following code.
Code:
#include<stdio.h>
#include<conio.h>
void main()
{
int i = 0, a = 5, b = 6;
i = a - - b;
printf("i = %d", i);
}

When I execute this program, I have got an error message "LValue Required".
Can any one explain what does that mean.
Please guide. Thanks.
Reply With Quote

Sponsored Links