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


Please Help Members By Posting Answers For Below Questions

Is it possible to get the source code back from binary file?

715


When are exception objects created?

613


To what does “event-driven” refer?

615


Describe friend function & its advantages.

716


What is the use of lambda in c++?

581






What new()is different from malloc()?

571


What is private, public and protected inheritance?

595


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

3047


What are the restrictions apply to constructors and destructors?

645


What do you understand by zombie objects in c++?

619


Differentiate between an array and a list?

709


Do you know what is overriding?

619


what Is DCS ? what i will get benefit when i did?

1836


What is command line arguments in C++? What are its uses? Where we have to use this?

581


Describe linkages and types of linkages?

569