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

What is overriding in oops?

592


Question: Write a program that prints a paycheck. Ask the program user for the name of the employee, the hourly rate, and the number of hours worked. If the number of hours exceeds 40, the employee is paid “time and a half”, that is, 150 percent of the hourly rate on the hours exceeding 40. Be sure to use stepwi se refine ment and break your solution into several functions. Use the int_name function to print the dollar amount of the check.

687


What is polymorphism in oop example?

507


What is the point of oop?

643


What are the 3 pillars of oop?

607






What is the advantage of oop over procedural language?

621


What is cohesion in oop?

608


What is object in oops?

606


class type to basic type conversion

1832


Which method cannot be overridden?

572


What are the benefits of polymorphism?

613


write a program to enter a string like"sunil is a good boy and seeking for a job" not more than 10 characters including space in one line,rest characters should b in other line.if the next line starts from in between the previous word,then print whole word to next line.

1782


why reinterpret cast is considered dangerous?

1894


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

2094


What are the two different types of polymorphism?

666