What is Lvalue in c?

1 answer

Answer

1058502

2026-05-02 22:00

+ Follow

An lvalue is an object that can be assigned a value, i.e. it can be on the left side of an equals sign, hence the term lvalue.

If the compiler is complaining, you are probably trying to assign a new value to an rvalue, such as an array name or constant.

ReportLike(0ShareFavorite

Copyright © 2026 eLLeNow.com All Rights Reserved.