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 use of keyword volatile??

Answers were Sorted based on User's Feedback



what is the use of keyword volatile??..

Answer / kishor narayan

Volatile qualifier indicates to the compiler that the
variable can be modified at any stage of the program
execution. This can happen even if the region of code being
executed might not have any access to the variable in
question. In that sense, Volatile qualifier does the
opposite of the Const qualifier.
@Vignesh1988i -> Volatile qualifier does not assign any
garbage value to the variable.

Is This Answer Correct ?    15 Yes 0 No

what is the use of keyword volatile??..

Answer / kala

it is the variable which can be modified outside of the
program. i.e hardwares can modify this variable. To avoid
compiler optimization we can use volatile.
this is used for memory mapped hardware and shared memory
usuage.

Is This Answer Correct ?    4 Yes 0 No

what is the use of keyword volatile??..

Answer / pur

if you use volatile variables then code optimization will
not happen at compilation time, so .o size will be more.

Is This Answer Correct ?    2 Yes 0 No

what is the use of keyword volatile??..

Answer / vignesh1988i

volatile keyword is a one in which assigns some garbage
value to the variables declared with this keyword..........
before assigning some values by the user to the variables.

Is This Answer Correct ?    4 Yes 10 No

Post New Answer

More C Interview Questions

Why malloc is faster than calloc?

0 Answers  


what does static variable mean?

0 Answers   TCS,


What is a class?

3 Answers  


How do we swap or interchange any 2 numbers without using Temporary variable...Anybody can pls answer it.. Thanks in Advance

8 Answers  


how to go with this?

1 Answers   Wipro,


Is file a keyword in c?

0 Answers  


Print the foll in C...eg when n=5 the o/p must b + + + + + + + + + + + + + + + + +

1 Answers  


ASCII stands for

1 Answers  


What are reserved words?

0 Answers  


Describe the complexity of Binary search, Quicksort and various other sorting and searching techniques..

0 Answers   Huawei,


What is function in c with example?

0 Answers  


please can some one guide me, to the answer Write a C program to enter 15 numbers as an input from the keyboard and program will find and print odd numbers and their average. i have studied while and do while loop for loop if and else if switch

2 Answers  


Categories