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

What is character set?

0 Answers  


What is wrong with this code such that it doesnt produce the input reversed? #include <stdio.h> #include <stdlib.h> #include <string.h> int main(void) { char Space = ' '; char LineOfText; float count; LineOfText = getchar(); while ((LineOfText = getchar()) != '/n'); { count = strlen(LineOfText) - 1; while (count >= 0) { putchar(LineOfText[count]); count--; } } getchar(); return 0; }

2 Answers  


How do i store a paragraph into a string? for example, if i input a long paragraph, the program will read the words one by one and concatenate them until no word is left.

1 Answers  


i need all types of question paper releted to "c" and other language.

0 Answers  


In a switch statement, explain what will happen if a break statement is omitted?

0 Answers  


what are the advantage of pointer variables? write a program to count the number of vowels and consonants in a given string

3 Answers  


Why doesnt the call scanf work?

0 Answers  


Can the size of an array be declared at runtime?

0 Answers  


#include show(int t,va_list ptr1) { int a,x,i; a=va_arg(ptr1,int) printf(" %d",a) } display(char) { int x; listptr; va_star(otr,s); n=va_arg(ptr,int); show(x,ptr); } main() { display("hello",4,12,13,14,44); }

0 Answers   Wilco,


int i =10 main() { int i =20,n; for(n=0;n<=i;) { int i=10 i++; } printf("%d", i);

6 Answers   HCL, Octal, SW,


What is difference between structure and union in c?

0 Answers  


what are far pointers?

1 Answers  


Categories