S
Sai Krishna M
Lvalue Required......Why?
Hello all,
the following code is not compiling in Turbo C and the error
is "Lvalue Required" .
main()
{
int i;
i++ = 10;
}
As I understand, we're trying to assingn 10 to i first, gettin 11 and then
trying to increment 11, which doesn't have a memory loc, being a Number.
But, why also 11 should ha a location, right?
plz clarify.
Hello all,
the following code is not compiling in Turbo C and the error
is "Lvalue Required" .
main()
{
int i;
i++ = 10;
}
As I understand, we're trying to assingn 10 to i first, gettin 11 and then
trying to increment 11, which doesn't have a memory loc, being a Number.
But, why also 11 should ha a location, right?
plz clarify.