where do we use volatile keyword?
* A variable should be declared volatile whenever its value
could change unexpectedly.
* A volatile qualifier must be used when reading the contents
of a memory location whose value can change unknown to the
current program.
* A volatile qualifier must be used for shared data modified
in signal handlers or interrupt service routines.
Is This Answer Correct ? | 9 Yes | 0 No |
how can use subset in c program and give more example
what is use of malloc and calloc?
how to connect oracle in C/C++.
What are the advantages of external class?
Why c language is called c?
How can a program be made to print the name of a source file where an error occurs?
What is the use of #define preprocessor in c?
How can I read in an object file and jump to locations in it?
Explain how can you determine the size of an allocated portion of memory?
What is storage class?
4.A function 'q' that accepts a pointer to a character as argument and returns a pointer to an array of integer can be declared as: A)int (*q(char*)) [] B)int *q(char*) [] C)int(*q)(char*) [] D)None of the Above
Explain what is the benefit of using const for declaring constants?