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


What will be the output

Answer Posted / sunayana

the output is "ahul"

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why multiple inheritance is not possible?

614


What is encapsulation process?

597


what are the realtime excercises in C++?

2341


How do you answer polymorphism?

590


Is oop better than procedural?

584






What type of loop is a for loop?

696


What is object in oops?

621


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

4252


What does sksksk mean in text slang?

1547


What is Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()?

2114


Is react oop?

618


What is oops and its features?

597


Why is encapsulation used?

585


What is overriding vs overloading?

590


What is new keyword in oops?

601