When should the volatile modifier be used?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

Tell us the use of fflush() function in c language?

0 Answers  


1. Write a C program to count the number of occurrence of a specific word in the given strings. (for e.g. Find how many times the word “live” comes in the sentence “Dream as if you’ll live forever, live as if you’ll die today ”)

12 Answers   Eskom, TCS,


what are the 10 different models of writing an addition program in C language?

0 Answers  


What is the output of the following progarm? #include<stdio.h> main( ) { int x,y=10; x=4; y=fact(x); printf(“%d\n”,y); } unsigned int fact(int x) { return(x*fact(x-1)); } A. 24 B. 10 C. 4 D. none

2 Answers  


how the compiler treats any volatile variable?Explain with example.

1 Answers   Tata Elxsi,






Can anyone tell what is stack overflow? what precaution we should take?

1 Answers  


Is the exit() function same as the return statement? Explain.

0 Answers   Agilent, ZS Associates,


To find whether a number is even or odd without using any conditional operator??

12 Answers   College School Exams Tests, IBM,


what is stack , heap ,code segment,and data segment

0 Answers  


int zap(int n) { if(n<=1)then zap=1; else zap=zap(n-3)+zap(n-1); } then the call zap(6) gives the values of zap [a] 8 [b] 9 [c] 6 [d] 12 [e] 15

10 Answers   Wipro,


When was c language developed?

0 Answers  


What are c header files?

0 Answers  


Categories