Thread: what is volatile variable?

  1. #1
    Registered User
    Join Date
    Nov 2012
    Posts
    54

    Post what is volatile variable?

    hi,

    please simply and easier tell me what is volatile variable, how it is declared and what are the results or how it is different from normal variable?

  2. #2
    Registered User
    Join Date
    Jun 2005
    Posts
    6,815
    Have you tried looking it up?

    How about you explain - in clear and concise manner - what you think it is? People can then steer you in the right direction if needed.
    Right 98% of the time, and don't care about the other 3%.

    If I seem grumpy or unhelpful in reply to you, or tell you you need to demonstrate more effort before you can expect help, it is likely you deserve it. Suck it up, Buttercup, and read this, this, and this before posting again.

  3. #3
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    How about reading the rest of the volatile thread you chipped in to last week?
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. VOLATILE vs Normal VARIABLE N C
    By cvr.09 in forum C Programming
    Replies: 23
    Last Post: 02-12-2013, 06:42 PM
  2. To Volatile, or not to Volatile?
    By EVOEx in forum C++ Programming
    Replies: 16
    Last Post: 05-12-2012, 02:07 PM
  3. Volatile Variable.
    By nagavardna in forum C Programming
    Replies: 2
    Last Post: 04-19-2012, 03:34 AM
  4. Difference between global variable and volatile
    By karthik537 in forum C Programming
    Replies: 4
    Last Post: 02-29-2012, 11:28 AM
  5. Guaranteed read from volatile variable
    By cyberfish in forum C++ Programming
    Replies: 17
    Last Post: 08-15-2011, 09:00 AM