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 output of the program given below #include<stdio.h> main() { char i=0; for(;i>=0;i++) ; printf("%d\n",i); }
21 Answers ADITI, Student, TCS,
what is the output of the below code? main( ) { printf ( "\nOnly stupids use C?" ) ; display( ) ; } display( ) { printf ( "\nFools too use C!" ) ; main( ) ; }
Why are algorithms important in c program?
which one is better structure or union?(other than the space occupied )
What is a pragma?
Explain about block scope in c?
how to write optimum code to divide a 50 digit number with a 25 digit number??
How can I read/write structures from/to data files?
What are nested functions in c?
Write a C program on Centralized OLTP, Decentralized OLTP using locking mechanism, Semaphore using locking mechanism, Shared memory, message queues, channel of communication, sockets and a simple program on Saving bank application program using OLTP in IPC?
how can be easily placed in TCS.
what is meant by flushll() in c programming?