Answer Posted / ravi.jnv
Volatile is to inform the compiler that not to optimise
code.
for ex:
int a = port1;
int b = port1;
int c = port1;
compiler may convert it as
int a=b=c=port1;
so avoid it , u have to use volatile keyword.
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
Are the outer parentheses in return statements really optional?
What is the difference between c &c++?
What are the advantages of c language?
What are the different types of constants?
Explain modulus operator. What are the restrictions of a modulus operator?
Write a program for Overriding.
Can we change the value of constant variable in c?
write a program using linked list in which each node consists of following information. Name[30] Branch Rollno Telephone no i) Write the program to add information of students in linked list
What is fflush() function?
What is the time and space complexities of merge sort and when is it preferred over quick sort?
What is floating point constants?
why wipro wase
Why main is used in c?
Explain what is wrong in this statement?
Explain what is the best way to comment out a section of code that contains comments?