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;

Answers were Sorted based on User's Feedback



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

Answer / 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

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

Answer / raj

There is no difference between const volatile int i and
volatile const int j

Is This Answer Correct ?    13 Yes 10 No

Post New Answer

More C Interview Questions

What is meant by high-order and low-order bytes?

0 Answers  


How to reverse a string using a recursive function, with swapping?

5 Answers  


How can I get random integers in a certain range?

0 Answers  


What is the function of volatile in c language?

0 Answers  


Compare and contrast compilers from interpreters.

0 Answers  


What is double pointer?

0 Answers  


C program to find all possible outcomes of a dice?

0 Answers  


What's the best way of making my program efficient?

0 Answers   Celstream,


What is the difference between NULL and NUL?

0 Answers   Aspire, Infogain,


What is enumerated data type in c?

0 Answers  


main() { int i=0; while(+(+i--)!=0) i-=i++; printf("%d",i); }

4 Answers  


What ios diff. Between %e & %f?

3 Answers   Honeywell,


Categories