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 const volatile?

Answers were Sorted based on User's Feedback



what is const volatile?..

Answer / test

Voliatile means value can be changed at any point .when we
say cont volatile it says value cant be changed by the
programer but can be changed by the hardware ..
for example status register of any hardware ..
its volatile since value of this register can changed at any
time and its const too since its not changed by the programmer.

Is This Answer Correct ?    7 Yes 1 No

what is const volatile?..

Answer / n

read-only data which should not be optimized by compiler
because it might be modified by some ways unknown by
compiler.(ex: HW, or even by other thread if we have const
volatile int *p for example, where p is the address of some
variable which is not const).

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

Write a program of prime number using recursion.

0 Answers   Aspiring Minds,


why return type of main is not necessary in linux

0 Answers   TCS,


The % symbol has a special use in a printf statement. How would you place this character as part of the output on the screen?

0 Answers  


What are the types of operators in c?

0 Answers  


Explain what are the different data types in c?

0 Answers  


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

0 Answers  


main() {char a[10]={1,2,3,4,5,6};int x; for(x=0;x<4;x++){ b[x]=x+'a';} printf("%s",b);}

3 Answers  


f(x,y,z) { y = y+1; z = z+x; } main() { int a,b; a = 2 b = 2; f(a+b,a,a); print a; } what is the value of 'a' printed

5 Answers  


What is main () in c language?

0 Answers  


A collection of functions,calls,subroutines or other data a) library b) header files c) set of files d) textfiles

0 Answers  


What is dynamic variable in c?

0 Answers  


How can I recover the file name given an open stream or file descriptor?

0 Answers  


Categories