If you had the following code: int x = 23; int *y; y = &x;
The instruction y++; does what?
Answer Posted / anu
Then y will point to next memory location.
If we are using (*y)++ will increment value to 24.
| Is This Answer Correct ? | 4 Yes | 5 No |
Post New Answer View All Answers
What is the purpose of template?
What is DlgProc?
Is c++ a dying language?
Can you please explain the difference between static and dynamic binding of functions?
What are pointers, when declared, intialized to a) NULL b) Newly allocated memory c) Nothing. Its random
Define upcasting.
What is an operator function? Describe the function of an operator function?
List the issue that the auto_ptr object handles?
What is the function of I/O library in C++ ?
Should I learn c or c++ or c#?
Define a nested class.
Is swift a good first language?
Is map sorted c++?
Which sort is best for the set: 1 2 3 5 4 a) Quick Sort b) Bubble Sort c) Merge Sort
How many static variables are created if you put one static member into a template class definition?