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 |
program to get the remainder and quotant of given two numbers with out using % and / operators?
10 Answers College School Exams Tests, IBM,
What is the collection of communication lines and routers called?
What is a shell structure examples?
#define f(x) main() { printf("\n%d",f(2+2)); }
difference between the array and linked list general difference related to memory
3.write a simple program that will output your name,phone number,e-mail address,and academic major on separate lines 1.create an account and a personal directory for your work b.find out how to create a subdirectory on your system.create one called info c.you will use a text editor to type in your programs and data files.some C systems have a built in text editor;others do not.Find out what text editor you will be using and how to access it.create a text file(not a program) containing your name ,address,and telephone number on separate lines.Next,write the brand of computer you are using and the name of the text editor.Then write a paragraph that describes your past experience with computers.save this file in your info directory. d. find out how to print a file on your system .print out and turn in the file you created in (c).
Which of the following is not an infinite loop ? a.while(1){ .... } b.for(;;){ ... } c.x=0; do{ /*x unaltered within theloop*/ ... }while(x==0); d.# define TRUE 0 ... while(TRUE){ .... }
What is sorting in c plus plus?
What is difference between Structure and Unions?
How will you divide two numbers in a MACRO?
Are there any problems with performing mathematical operations on different variable types?
Is multithreading possible in c?