char* ptr = "Rahul";
*ptr++;
printf("%s",ptr);
What will be the output
Answer Posted / sayali
this code generates the output as,
ahul
but is also generate warning
that
code has no effect..
| Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
What is protected in oop?
How Do you Code Composition and Aggregation in C++ ?
What is overloading in oops?
Explain the advantages of inheritance.
What is meant by multiple inheritance?
what is the sylabus for priliminaries?
How to improve object oriented design skills?
What is abstraction with example?
write a program that takes input in digits and display the result in words from 1 to 1000
Why do we use oops?
i=20;k=0;
for(j=1;k-i;k+=j<10?4:3)
{
cout< What is destructor in oop? What is polymorphism oop? Can we create object of abstract class? hi all..i want to know oops concepts clearly can any1
explain??