Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Why is polymorphism needed?

1027


How do you use inheritance in unity?

1046


State what is encapsulation and friend function?

1215


How to call a non virtual function in the derived class by using base class pointer

6454


What is the main feature of oop?

1124


Why do while loop is used?

995


Why is abstraction needed?

1001


What is the real time example of encapsulation?

1020


Will I be able to get a picture in D drive to the c++ program? If so, help me out?

2165


What is a class oop?

964


What is a class in oop?

1073


class type to basic type conversion

2352


Why do pointers exist?

1060


to find out the minimum of two integer number of two different classes using friend function

2095


How many human genes are polymorphic?

1024