Answer Posted / udit
const int var=10;
*(int *)&var=20;
this syntex change the constat value
| Is This Answer Correct ? | 15 Yes | 10 No |
Post New Answer View All Answers
What is class definition in c++ ?
What is #include iostream h in c++?
How can I disable the "echo" feature?
What is the use of c++ programming language in real life?
What is decltype c++?
What is function declaration in c++ with example?
What is the size of integer variable?
Who invented turbo c++?
What is expression parser in c++
Difference between pointer to constant and constant pointer to a constant. Give example.
What is const in c++?
How to access a variable of the structure?
What is an inclusion guard?
What is the difference between a pointer and a link in c ++?
Array base access faster or pointer base access is faster?