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
Is it possible to get the source code back from binary file?
When are exception objects created?
To what does “event-driven” refer?
Describe friend function & its advantages.
What is the use of lambda in c++?
What new()is different from malloc()?
What is private, public and protected inheritance?
Must accepts "Maestro Cards" Tax for bike should be less than 15 Total number of lanes is more than 10 Must provides monthly pass Write a method: boolean isGoodTollBridge(String[] cardsAccepted, String[] tollTax, boolean hasMonthlyPass, int numberOfLanes); String[] cardsAccepted A String array of names of card types accepted for payment of toll tax, it can be null if the toll does not accept any card String[] tollTax A String array of toll tax chart (say “Train : 300â€Â,â€ÂBullCart : 10â€Â) boolean hasMonthlyPass This parameter defines whether there is any monthly pass available or not int numberOfLanes This parameter defines the number of lanes for each side
What are the restrictions apply to constructors and destructors?
What do you understand by zombie objects in c++?
Differentiate between an array and a list?
Do you know what is overriding?
what Is DCS ? what i will get benefit when i did?
What is command line arguments in C++? What are its uses? Where we have to use this?
Describe linkages and types of linkages?