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
Explain some examples of operator overloading?
What are the characteristics of friend functions?
Explain deep copy and a shallow copy?
What is the most common mistake on c++ and oo projects?
What problems might the following macro bring to the application?
What is the latest c++ version?
What does std :: flush do?
What is difference between malloc()/free() and new/delete?
How would you call C functions from C++ and vice versa?
What are the new features that iso/ansi c++ has added to original c++ specifications?
How do you flush std cout?
Define a conversion constructor?
Can a Structure contain a Pointer to itself?
What do you mean by late binding?
What is a manipulator in c++?