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 a string example?
How can you quickly find the number of elements stored in a static array?
What is the use of object in c++?
Is arr and &arr are same expression for an array?
how to connect with oracle 9i with server in socket program in c/c++
the maximum length of a character constant can be a) 2 b) 1 c) 8
What are vtable and vptr?
What is a memory leak c++?
What is pointer to array in c++?
Define a constructor?
Do vectors start at 0?
In the derived class, which data member of the base class are visible?
What is the difference between a baller and a reference in C++?
How will you call C functions from C ++ and vice-versa?
Define basic type of variable used for a different condition in C++?