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 |
There is a practice in coding to keep some code blocks in comment symbols than delete it when debugging. How this affect when debugging?
Explain how can I manipulate strings of multibyte characters?
What are shell structures used for?
i=10,j=20 j=i,j?(i,j)?i:j:j print i,j
What is integer constants?
what is the difference between procedure oriented and object oriented progaming language
What is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?
Write a program to generate the first n terms in the series --- 9,11,20,31,...,82
What are the various topologies? Which one is the most secure?
whether itis a structured language?
2.Given the short c program that follows a. make a list of the memory variables in this program b.which lines of code contain operations that change the contents of memory? what are those operations? Void main( void) { Double base; Double height; Double area; Printf(“enter base and height of triangle :”); Scanf(“%lg”, &base); Scanf(“%lg”, &height); Area=base*height/2.0; Printf(“the area of the triangle is %g \n”,area); }
Simplify the program segment if X = B then C ← true else C ← false