char* ptr = "Rahul";
*ptr++;
printf("%s",ptr);
What will be the output
Answer Posted / deepak
Ans:Sahul
Reason:
Intially *ptr contains ASCII value of 'R' on incrementing it
will points to ASCII value of 'S'.
| Is This Answer Correct ? | 2 Yes | 15 No |
Post New Answer View All Answers
What is inheritance in oop?
What are the benefits of polymorphism?
What is difference between polymorphism and inheritance?
What is the real time example of encapsulation?
What are the 5 oop principles?
What are the types of abstraction?
What is encapsulation with example?
What is encapsulation in simple terms?
What are the data types in oop?
What is meant by oops concept?
What is Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()?
hi all..i want to know oops concepts clearly can any1 explain??
what's the basic's in dot net
Will I be able to get a picture in D drive to the c++ program? If so, help me out?
What is abstract class in oops?