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
Is it possible to write a c++ template to check for a function's existence?
You have two pairs: new() and delete() and another pair : alloc() and free(). Explain differences between eg. New() and malloc()
Is c++ low level?
Write about the members that a derived class can add?
Which is not an ANSII C++ function a) sin() b) tmpnam() c) kbhit()
Can user-defined object be declared as static data member of another class?
What is new in c++?
To what does “event-driven” refer?
Explain selection sorting. Also write an example.
Can you declare an array without a size in c++?
Is there any function that can skip certain number of characters present in the input stream?
What is the difference between an external iterator and an internal iterator? Describe an advantage of an external iterator?
what Is DCS ? what i will get benefit when i did?
Which function should be used to free the memory allocated by calloc()?
Inline parameters : What does the compiler do with the parameters of inline function, that can be evaluated in runtime ?