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

What is the difference between a mixin and inheritance?

513


What language is oop?

589


What is basic concept of oop?

690


What is oops concept with example?

572


What is the real time example of inheritance?

631






Write a C++ program without using any loop (if, for, while etc) to print prime numbers from 1 to 100 and 100 to 1 (Do not use 200 print statements!!!)

1633


Why it is called runtime polymorphism?

573


Which method cannot be overridden?

572


What does oop mean in snapchat?

675


What does and I oop mean?

610


What is difference between abstraction and encapsulation?

584


Give an example where we have to specifically use C programming language and C++ programming language cannot be used?

1136


Can we have inheritance without polymorphism?

604


assume the program must insert 4 elements from the key board and then do the following programs.sequential search(search one of the elements),using insertion sort(sort the element) and using selection sort(sort the element).

1662


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

1752