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
What is overriding in oops?
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.
What is polymorphism in oop example?
What is the point of oop?
What are the 3 pillars of oop?
What is the advantage of oop over procedural language?
What is cohesion in oop?
What is object in oops?
class type to basic type conversion
Which method cannot be overridden?
What are the benefits of polymorphism?
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.
why reinterpret cast is considered dangerous?
What is Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()?
What are the two different types of polymorphism?