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 do you understand by pure virtual function? Write about its use?
Is ca high or low level language?
Can I learn c++ without c?
To which numbering system can the binary number 1101100100111100 be easily converted to?
What is the difference between struct and class?
Why do we use double in c++?
How should runtime errors be handled in c++?
When is dynamic checking necessary?
Can there be at least some solution to determine the number of arguments passed to a variable argument list function?
Why c++ is not a pure oop language?
What are the various operations performed on stack?
Explain how to initialize a const member data.
What are put and get pointers?
How to access a variable of the structure?
How do you find out if a linked-list has an end?