char* ptr = "Rahul";
*ptr++;
printf("%s",ptr);
What will be the output
Answer Posted / vadivelt
Since address pointed by ptr got incremented, ptr will point to
address of char 'a'.
So o/p will be - ahul
| Is This Answer Correct ? | 73 Yes | 5 No |
Post New Answer View All Answers
What is an interface in oop?
What is difference between multiple inheritance and multilevel inheritance?
What are oops functions?
What is polymorphism used for?
What does and I oop and sksksk mean?
officer say me - i am offered to a smoking , then what can you say
How to improve object oriented design skills?
What is the types of inheritance?
What is oops?what is its use in software engineering?
What is abstraction encapsulation?
What is interface in oop?
What is static modifier?
What does oop mean in snapchat?
Why is encapsulation used?
Is enum a class?