What is lvalue and rvalue error in the C lang.

Rakesh Chaudhari

Rakesh Chaudhari

@rakesh-chaudhari-c9VYbZ Oct 26, 2024
Give the Exact Difference Between the lvalue and rvalue in the C lang.

Replies

Welcome, guest

Join CrazyEngineers to reply, ask questions, and participate in conversations.

CrazyEngineers powered by Jatra Community Platform

  • K!r@nS!ngu

    K!r@nS!ngu

    @kr-at-nsngu-XqzcfU Jan 5, 2012

    Rakesh Chaudhari
    Give the Exact Difference Between the lvalue and rvalue in the C lang.
    lvalue occurs if compiler would not get any addressable value in a program. The lvalue is known as location and rvalue is known as read value. The lvalue is the address that is stored into, while rvalue is a constant or the value stored at the particular location.
  • PraveenKumar Purushothaman

    PraveenKumar Purushothaman

    @praveenkumar-66Ze92 Jan 5, 2012

    K!r@nS!ngu
    lvalue occurs if compiler would not get any addressable value in a program. The lvalue is known as location and rvalue is known as read value. The lvalue is the address that is stored into, while rvalue is a constant or the value stored at the particular location.
    Also the coincidence is, lvalue occurs always in the left and rvalue in the right! 😀