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
how to get the oracle certification? send me the answer
What is abstraction with example?
What is the difference between a constructor and a destructor?
How does polymorphism work?
What are the 4 main oop principles?
What is static in oop?
What are the benefits of oop?
What does I oop mean?
What is difference between data abstraction and encapsulation?
What is encapsulation example?
What is overloading and its types?
How to use CMutex, CSemaphore in VC++ MFC
Can a varargs method be overloaded?
What does and I oop mean in text?
what is the drawback of classical methods in oops?