江浙沪不相信邮费

Slight difference between C++ and C

In C++, results of assignment operation, prefix increment and prefix decrement are all lvalues, the updated objects.

Whereas in C, those results are all rvalues, just values of expressions, not objects that have memory loctions.

Error disappeared after changing the source file name extension from .c to .cpp

posted on 2016-05-09 16:14  江浙沪不相信邮费  阅读(135)  评论(0编辑  收藏  举报

导航