Answer Posted / achal ubbott
the keyword volatile is more used in embedded systems
programming, especially when we are dealing with the
special function registers of a microcontroller. e.g.
status register of UART or some other peripheral devices.
As you may know that volatile asks the compiler not to
subject the variable in question to optimization.
| Is This Answer Correct ? | 1 Yes | 3 No |
Post New Answer View All Answers
What is the need of structure in c?
What is integer constants?
Explain modulus operator.
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
Why c is called a middle level language?
Why static is used in c?
Can you apply link and association interchangeably?
Define Spanning-Tree Protocol (STP)
How can I display a percentage-done indication that updates itself in place, or show one of those twirling baton progress indicators?
Why we use int main and void main?
What functions are used in dynamic memory allocation in c?
What is a loop?
What is meant by type specifiers?
What are valid signatures for the Main function?
Difference between macros and inline functions? Can a function be forced as inline?