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


What will be the output

Answer Posted / darshan

Rahul

Is This Answer Correct ?    4 Yes 18 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is destructor used?

574


What is oops?what is its use in software engineering?

550


write string class as your own class in java without using any built-in function

1966


What are the types of abstraction?

549


What are the 4 pillars of oop?

660






just right the logic of it 1--> If few people are electing then every time ur candidate should win 2--> arrange books in box, if box carry weight == books weight then take another box..... find the no of box required.

6479


If a=5, b=6, c=7, b+=a%c*2. What is the final value of b?

936


What is the difference between encapsulation and polymorphism?

581


What is inheritance write a program to show use of inheritance?

606


Can we create object of abstract class?

570


What is a null tree?

620


What is object and class in oops?

573


What is encapsulation with example?

570


Write A Program to find the ambiguities in Multiple Inheritance? How are they resolved.(Virtual Functions)

3550


What is abstraction with example?

594