Answer Posted / kala
it is the variable which can be modified outside of the
program. i.e hardwares can modify this variable. To avoid
compiler optimization we can use volatile.
this is used for memory mapped hardware and shared memory
usuage.
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
Where define directive used?
application areas a 'c' a) operating system b) graphics, interpreter, assembler c) program evalution, communication softwares d) all the above
What’s a signal? Explain what do I use signals for?
Explain what is page thrashing?
Which header file is essential for using strcmp function?
hi friends how r u as soon in satyam my interview is start but i m very confusued ta wat i do plz help me frndz wat can i do plz tell me some question and answers related with "C" which r asked in the interview .
What is the right type to use for boolean values in c?
What is static volatile in c?
What is default value of global variable in c?
Write a program to print “hello world” without using semicolon?
Define macros.
what are the different storage classes in c?
stripos — Find position of first occurrence of a case- insensitive string int stripos ( char* haystack, char* needle, int offset ) Returns the numeric position of the first occurrence of needle in the haystack string. Note that the needle may be a string of one or more characters. If needle is not found, stripos() will return -1. The function should not make use of any C library function calls.
in any language the sound structure of that language depends on its a) character set, input/output function, its control structures b) character set, library functions, input/output functions its control structures c) character set, library functions, control sturctures d) character set, operators, its control structures
What is volatile variable how do you declare it?