what is the Rvalue and Lvalue in c

Possible Duplicates:
lvalue and rvalue
difference between c's expression and c++'s expression

On executing the program below, I got error an message like "required Lvalue is missing in main function"

main()
{
    int i;
    printf("%d",++i++);
}

Please tell me what are rvalues and lvalues. If there are any other values of this kind Please explain that also.


http://www.devx.com/tips/Tip/5696


我的东西++我不是左值所以(++ i)++是错误的。

链接地址: http://www.djcxy.com/p/40288.html

上一篇: C ++

下一篇: c中的Rvalue和Lvalue是什么?