What is volatile in c language?

Answers were Sorted based on User's Feedback



What is volatile in c language?..

Answer / venkata mahesh

compiler should not make any assumption about the variable
which declared as volatile.

Is This Answer Correct ?    8 Yes 0 No

What is volatile in c language?..

Answer / vadivel t

Volatile is one of the tpye qualifier in c. This qualifier
is used with the variable when the variable value is
expected to be changed by an external event(eg: system
clock, interrupt).

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More C Interview Questions

why array index always starts from zero??

4 Answers   TCS,


User define function contain thier own address or not.

2 Answers  


HOW TO SWAP TWO NOS IN ONE STEP?

16 Answers   Satyam,


WHAT IS HIGH LEVEL LANGUAGE?

2 Answers  


why TCS selected more student in the software field from all institution.

5 Answers   TCS,






Write a program to swap two numbers without using third variable in c?

0 Answers  


how can i calculate mean,median,mode by using c program

1 Answers   HCL,


string reverse using recursion

0 Answers   Mind Tree,


What is the difference function call by value & function call by reference?

6 Answers  


I need a help with a program: Write a C program that uses data input in determining the whole of points A and a whole of circles B. Find two points in A so that the line which passes through them, cut through the maximum number of circles.

0 Answers   TCS,


Define a structure to store the record of library. The record must consist of at least following fields: Title, Author, Edition, Price, Publisher, and Category. -Define functions authorSearch ( ), TitleSearch ( ) and CategorySearch ( ) to search a book with respect to author, title and category. [There can be more than one book, written by one author, in one category]

2 Answers  


i want explaination about the program and its stack reprasetaion fibbo(int n) { if(n==1 or n==0) return n; else return fibbo(n-1)+fibbo(n-2); } main() { fibbo(6); }

2 Answers  


Categories