what is const volatile?
Answers were Sorted based on User's Feedback
Answer / test
Voliatile means value can be changed at any point .when we
say cont volatile it says value cant be changed by the
programer but can be changed by the hardware ..
for example status register of any hardware ..
its volatile since value of this register can changed at any
time and its const too since its not changed by the programmer.
| Is This Answer Correct ? | 7 Yes | 1 No |
Answer / n
read-only data which should not be optimized by compiler
because it might be modified by some ways unknown by
compiler.(ex: HW, or even by other thread if we have const
volatile int *p for example, where p is the address of some
variable which is not const).
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the difference between null pointer and the void pointer?
What is volatile variable in c?
What does a run-time "null pointer assignment" error mean?
Explain which of the following operators is incorrect and why? ( >=, <=, <>, ==)
While compiling a c program,graphics header files are not including in my program..eg: <graphics.h>,what may be the problem...is there any environment settings exists.
What is a stream in c programming?
hOW Can I add character in to pointer array of characters char *a="indian"; ie I want to add google after indian in the char *a
What are different types of variables in c?
can we define a function in structure?
Can you apply link and association interchangeably?
52.write a “Hello World” program in “c” without using a semicolon? 53.Give a method to count the number of ones in a 32 bit number? 54.write a program that print itself even if the source file is deleted? 55.Given an unsigned integer, find if the number is power of 2?
What is getch () for?