Programming MCQS - QUESTION DETAILS

What is the purpose of the 'volatile' keyword in C?
A. Declare a volatile variable
B. Indicate an unstable function
C. Declare a constant variable
D. Indicate a variable that can change unexpectedly

'volatile' is used to indicate a variable that can change unexpectedly.

Similar Questions

What is the purpose of the 'strchr' function in C?






What is the role of 'calloc' function in C?






Which function is used to read a character from the standard input in C?






How do you declare a two-dimensional array in C?






What is the purpose of the 'typedef' keyword in C?






Which of the following is not a valid C data type?






What is the output of printf("%d", 5 << 2);?






How do you declare a constant integer in C?






Which header file is needed for file input and output operations in C?






What does the 'printf' function do in C?