what is const volatile?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between stdio h and conio h?

888


What are the modifiers available in c programming language?

742


What is the use of header?

624


Explain what does a function declared as pascal do differently?

642


Hi can anyone tell what is a start up code?

1617






How do you convert strings to numbers in C?

710


What is the sizeof () operator?

625


What is the use of bitwise operator?

693


Explain how can I read and write comma-delimited text?

660


Explain 'bus error'?

563


pierrot's divisor program using c or c++ code

1732


What are the back slash character constants or escape sequence charactersavailable in c?

686


What is scanf () in c?

664


1. Write a function to display the sum of two numbers in the following ways: By using (i) pass by value (ii) pass by address a. function with argument and with return value b. function with argument and without return value c. without argument , with return value d. without argument , without return value Note: Use pass by address.

2338


Is sizeof a keyword in c?

585