Like Tree2Likes
  • 2 Post By laserlight

Lvalue in C programming

This is a discussion on Lvalue in C programming within the C Programming forums, part of the General Programming Boards category; Hello experts What is lvalue in C? I have heard about it but i m not able to understand it ...

  1. #1
    Registered User
    Join Date
    Sep 2011
    Location
    India
    Posts
    27

    Question Lvalue in C programming

    Hello experts

    What is lvalue in C? I have heard about it but i m not able to understand it completely?


    Regards

  2. #2
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    22,256
    A quick search brought up this FAQ glossary on lvalue.
    Salem and AndrewHunter like this.
    C + C++ Compiler: MinGW port of GCC
    Version Control System: Bazaar

    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  3. #3
    Banned
    Join Date
    Aug 2010
    Location
    Ontario Canada
    Posts
    9,547
    Quote Originally Posted by sumit180288 View Post
    Hello experts

    What is lvalue in C? I have heard about it but i m not able to understand it completely?


    Regards
    In it's most basic terms... It's a value that is suitable for use on the left side of an equals sign.

    Yes, it's a bit more complex than that but that's the core of it.

  4. #4
    Registered User
    Join Date
    May 2011
    Location
    Around 8.3 light-minutes from the Sun
    Posts
    1,866
    Quote Originally Posted by sumit180288 View Post
    Hello experts

    What is lvalue in C? I have heard about it but i m not able to understand it completely?


    Regards
    I could be wrong, but it would appear that someone doesn't want to do their own homework.
    Quote Originally Posted by anduril462 View Post
    Now, please, for the love of all things good and holy, think about what you're doing! Don't just run around willy-nilly, coding like a drunk two-year-old....
    Quote Originally Posted by quzah View Post
    ..... Just don't be surprised when I say you aren't using standard C anymore, and as such,are off in your own little universe that I will completely disregard.
    Warning: Some or all of my posted code may be non-standard and as such should not be used and in no case looked at.

  5. #5
    Banned
    Join Date
    Aug 2010
    Location
    Ontario Canada
    Posts
    9,547
    Quote Originally Posted by AndrewHunter View Post
    I could be wrong, but it would appear that someone doesn't want to do their own homework.
    Well... there's always THIS

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. error: lvalue required, pretty sure it's an lvalue
    By brandones in forum C Programming
    Replies: 18
    Last Post: 08-22-2011, 09:06 PM
  2. Get lvalue through rvalue
    By George2 in forum C++ Programming
    Replies: 4
    Last Post: 12-17-2007, 08:53 AM
  3. how to use reference for lvalue
    By jabka in forum C++ Programming
    Replies: 9
    Last Post: 04-22-2007, 03:08 PM
  4. not an lvalue
    By swampfox in forum C++ Programming
    Replies: 3
    Last Post: 08-06-2004, 07:23 PM
  5. lvalue
    By studentc in forum C Programming
    Replies: 3
    Last Post: 05-13-2004, 10:45 AM

Tags for this Thread


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21