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's the basic's in dot net
What causes polymorphism?
What does <> mean pseudocode?
write a program to find 2 power of a 5digit number with out using big int and exponent ?
What is class and object in oops?
What is encapsulation in ict?
What is encapsulation with example?
What is polymorphism and why is it important?
What is difference between oop and pop?
What is static modifier?
IS IT NECESSARY TO INITIALIZE VARIABLE? WHAT IF THE INSTANCE VARIABLE IS DECLARED final ? IS IT NECESSARY TO INITIALIZE THE final VARIABLE AT THE TIME OF THEIR DECLARATION?
What is the use of oops?
What are the data types in oop?
What is overriding vs overloading?
How to use CMutex, CSemaphore in VC++ MFC