what is volatile variable?

This is a discussion on what is volatile variable? within the C Programming forums, part of the General Programming Boards category; hi, please simply and easier tell me what is volatile variable, how it is declared and what are the results ...

  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,249
    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%.

  3. #3
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,485
    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.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

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, 05: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, 10:28 AM
  5. Guaranteed read from volatile variable
    By cyberfish in forum C++ Programming
    Replies: 17
    Last Post: 08-15-2011, 09:00 AM

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