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
Which method cannot be overridden?
Write a program to implement OOPS concepts such as inheritance, polymorphism, friend function, operator overloading?
What is the importance of oop?
Advantage and disadvantage of routing in telecom sector
What is the advantage of oop over procedural language?
What is interface in oop?
Why is it so that we can have virtual constructors but we cannot have virtual destructors?
c++ program to swap the objects of two different classes
What language is oop?
What is object in oop?
What is class and object in oops?
Can you inherit a private class?
What is oops and its features?
Why do we use class?
What are objects in oop?