char* ptr = "Rahul";
*ptr++;
printf("%s",ptr);


What will be the output

Answer Posted / sudeep dutta

Rahul loses his name and becomes ahul.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which method cannot be overridden?

584


Write a program to implement OOPS concepts such as inheritance, polymorphism, friend function, operator overloading?

4252


What is the importance of oop?

623


Advantage and disadvantage of routing in telecom sector

794


What is the advantage of oop over procedural language?

634






What is interface in oop?

672


Why is it so that we can have virtual constructors but we cannot have virtual destructors?

3859


c++ program to swap the objects of two different classes

1771


What language is oop?

603


What is object in oop?

699


What is class and object in oops?

619


Can you inherit a private class?

645


What is oops and its features?

597


Why do we use class?

646


What are objects in oop?

614