adspace


What is volatile

Answer Posted / nikhil

Basically, it is a type qualifier.
a volatile data type is used at optimizer level.
Generally, in the embedded coding, When the optimizer is Set
on "favor size". The data type declaration as volatile
declares to compiler that the value of this data type can
change beyond the program flow(like interrupts.
Otherwise if the optimizer is enable, the program malfunctions.

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the difference between null pointer and void pointer.

1157


Do you know the difference between malloc() and calloc() function?

1133


what is ur strangth & weekness

2590


Sir,please help me out with the code of this question. Write an interactive C program that will encode or decode multiple lines of text. Store the encoded text within a data file, so that it can be retrieved and decoded at any time. The program should include the following features: (a) Enter text from the keyboard, encode the text and store the encoded text in a data file. (b) Retrieve the encoded text and display it in its encoded form. (c) Retrieve the encoded text, decode it and then display the decoded text. (d) End the computation. Test the program using several lines of text of your choice.

2398


What is pointers in c with example?

1167


What is the general form of a C program?

1099


PLS U SENS ME INTERVIEW O. MY EMAIL ADD, SOFIYA.SINGH@GMAIL.COM

2258


List at least 10 sorting methods indicating their average case complexity, worst case complexity and best case complexity.

2827


Differentiate between null and void pointers.

1258


In C programming, how do you insert quote characters (‘ and “) into the output screen?

1616


can any one please explain, how can i access hard disk(physical address)? it is possible by the use of far,near or huge pointer? if yes then please explain......

2004


i have a written test for microland please give me test pattern

2814


What are compound statements?

1289


Can a function be forced to be inline? Also, give a comparison between inline function and the C macro?

1181


what is associativity explain what is the precidence for * and & , * and ++ how the folloing declaration work 1) *&p; 2) *p++;

2737