Answer Posted / manoj
Volatile variable will be used when we are dealing with
external memory, external device and interrupt service
routine. In these situation if some variable needs update
or gets update without user knowledge in that case variable
should be declared as VOLATILE. otherwise we may loose
these update.
| Is This Answer Correct ? | 8 Yes | 1 No |
Post New Answer View All Answers
Write a program to print factorial of given number using recursion?
What is huge pointer in c?
What is the difference between volatile and const volatile?
struct screen_pos{ int row, col } ;move_right(cursor)struct screen_pos *cursor;{ cursor.col++; } /* This statementhas a syntax error */What is the correct statement a) cursor.col = cursor.col + 1; b) col.cursor++; c) *cursor.col++; d) pointer
What is the stack in c?
What is #include stdio h and #include conio h?
What is string function in c?
given post order,in order construct the corresponding binary tree
What are different storage class specifiers in c?
Given below are three different ways to print the character for ASCII code 88. Which is the correct way1) char c = 88; cout << c << " ";2) cout.put(88);3) cout << char(88) << " "; a) 1 b) 2 c) 3 d) constant
What is the purpose of main( ) in c language?
A variable that is defined in a specified portion of a program but can be used throughout the program a) global variable b) local variable c) character d) none
What are high level languages like C and FORTRAN also known as?
Explain a file operation in C with an example.
What is function pointer c?