Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

what is the difference between const volatile int i
& volatile const int j;

Answer Posted / suman ranjan

There is no difference between the two. The important thing
to note is what does this mean anyways.

The const type qualifier declares an object to be
nonmodifiable. The volatile type qualifier declares an item
whose value can legitimately be changed by something beyond
the control of the program in which it appears, such as a
concurrently executing thread.

An item can be both const and volatile, in which case the
item could not be legitimately modified by its own program,
but could be modified by some asynchronous process.

Is This Answer Correct ?    25 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the features of c languages?

1140


Why c is known as a mother language?

1129


Can you please explain the difference between syntax vs logical error?

1240


If errno contains a nonzero number, is there an error?

1430


Is c easier than java?

1124


Why do we use stdio h and conio h?

1134


Explain the difference between the local variable and global variable in c?

1133


What are linked lists in c?

1177


What's the right way to use errno?

1201


What are reserved words with a programming language?

1202


Where can I get an ansi-compatible lint?

1201


What are integer variable, floating-point variable and character variable?

1298


What are multibyte characters?

1190


How can I avoid the abort, retry, fail messages?

1183


write a program to generate address labels using structures?

4622