where do we use volatile keyword?
Answer / 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 |
What is the main differences between C and Embedded C?
1 1 1 1 2 1 1 3 3 1 1 4 6 4 1
What is the difference between a function and a method in c?
read the folllowing code # define MAX 100 # define MIN 100 .... .... if(x>MAX) x=1; else if(x<MIN) x=-1; x=50; if the initial value of x=200,what is the vlaue after executing this code? a.200 b.1 c.-1 d.50
How can you convert integers to binary or hexadecimal?
Explain what is the difference between #include and #include 'file' ?
Is main an identifier in c?
write a program to generate 1st n fibonacci prime number
Describe the difference between = and == symbols in c programming?
Will Macros support multiple arguments ?
cavium networks written test pattern ..
write a function that accepts an integer/char array and an search item.If the search item is there in the array return position of array and value else return -1.without using other array,without sorting,not to use more than one loop?