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
Why #include is used?
Do the names of parameters have to agree in the prototype, definition, and call to the function?
What is difference between n and endl in c++?
Evaluate the following expression as C++ would do :8 * 9 + 2 * 5 a) 82 b) 79 c) 370 d) list
Write syntax to define friend functions in C++.
What is the difference between structure and class?
Does c++ support exception handling?
What are pointers used for c++?
What is a class template?
What number of digits that can be accuratly stored in a float (based on the IEEE Standard 754)? a) 6 b) 38 c) An unlimited number
What does extern mean in a function declaration in c++?
How can we access protected and private members of a class?
Is c++ the hardest language?
Is nan a c++?
What is a stack c++?