what is volatile in c language?
Answer Posted / deep
consider this outside main()
int i=10;
int j = i + 10;
here smart compilers always replace the i in the second
statement with 10, when we use volatile keyword this will be
avoided and always there is a check of the i variable ,
before initialising it..
So the optimisation here is avoided
| Is This Answer Correct ? | 15 Yes | 2 No |
Post New Answer View All Answers
What is the purpose of the statement: strcat (S2, S1)?
Can we change the value of #define in c?
The % symbol has a special use in a printf statement. How would you place this character as part of the output on the screen?
what is ur strangth & weekness
What is a pointer variable in c language?
A variable that is defined in a specified portion of a program but can be used throughout the program a) global variable b) local variable c) character d) none
How do you do dynamic memory allocation in C applications?
What is function prototype?
What is c programming structure?
What are the salient features of c languages?
In which language linux is written?
Why do we use header files in c?
What is bin sh c?
When we use void main and int main?
Write a programme using structure that create a record of students. The user allow to add a record and delete a record and also show the records in ascending order.