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
Can class objects be passed as function arguments?
what are the decision making statements in C++? Explain if statement with an example?
What are disadvantages of pointers?
What is the full form of stl in c++?
What are the advantages of using pointers in a program?
In a function declaration what does extern means?
what is c++
What is prototype in c++ with example?
Write a program for Divide a number with 2 and Print the output ( NOTE: Check for divide by zero error).
What are dynamic type checking?
Are strings mutable in c++?
What are its advantages and disadvantages of multiple inheritances (virtual inheritance)?
Why we use #include conio h in c++?
What is c++ good for?
What is abstraction in c++?