What are volatile variables?
Answer / 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 |
write a c program to find the probability of random numbers between 1-1000
what is bitwise operator?
Should I use symbolic names like true and false for boolean constants, or plain 1 and 0?
What are the loops in c?
What are the concepts introduced in OOPs?
Why c is called a middle level language?
Write a program to find the given number is odd or even without using any loops(if,for,do,while)
What is %g in c?
inline function is there in c language?
What is nested structure?
In a byte, what is the maximum decimal number that you can accommodate?
2) Write a program that will help Air Traffic Control for an airport to view the sequence of flights ready for take-off. The airport can accommodate 10 flights waiting for take-off at any point in time. Each flight has a unique 3 digit numeric identifier.  Each time a flight takes-off, Air Traffic Control adds a flight to the waitlist. Each time a flight is added to the waitlist, the list of flights waiting to take-off must be displayed.  When a flight is cleared for take-off, Air Traffic Control removes the flight from the waitlist. Each time a flight takes-off, the list of flights waiting to take-off must be displayed.  Sequence of take-off is the sequence of addition to the waitlist