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 searching? Explain linear and binary search.
What is c++ namespace?
Why do we need templates?
find the two largest values among the 6 numbers using control structures : do-while,for,if else,nestedif- else ,while. one or two of them.
What is a singleton class c++?
What is vector pair in c++?
What is encapsulation in c++ with example?
What is vector string in c++?
write asingle linked list which read from two list & the do the following 1 sort the prime & nonprime num (prime should be less tn nonprime) 2 each node has a prime num followd by nonprime 3 add a new node into its sutable plce 4 erase the most three duplicated non prime num 5 find the least duplicated prime num
What are inline functions? What is the syntax for defining an inline function?
explain the reference variable in c++?
What is this pointer in c++?
Is java the same as c++?
What is abstraction with real time example?
What is the basic difference between C and C++?