Tell me can you have constant volatile variables?
Answer / Ranjeet Kumar Ranjan
In C programming, a variable declared as 'volatile' tells the compiler that the value of this variable may be modified by factors outside the current scope or control flow. A 'const' variable is one whose value cannot be changed once it has been initialized. However, a constant volatile variable does not exist in C; if a variable needs to be both const and volatile, you would use 'const volatile'.
| Is This Answer Correct ? | 0 Yes | 0 No |
How are macros different from functions?
Tell me why cannot arrays be passed by values to functions?
What is risc architecture?
What is loop unrolling?
How do malloc and calloc work?
Tell me what is null pointer and what is its use?
Write a constant time consuming statement lot finding out if a given number is a power of 2?
PROVIDE ME NOTES ON EMBEDDED TCHNLOGY
What is the function of dma controlled in embedded system?
Write a program to show the functionality of power-save super loop.
How can you optimize the i/o performance?
What are the characteristics of embedded system?