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 / 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


Please Help Members By Posting Answers For Below Questions

What is inheritance in oop?

1041


What are the benefits of polymorphism?

1281


What is difference between polymorphism and inheritance?

1094


What is the real time example of encapsulation?

1070


What are the 5 oop principles?

1131


What are the types of abstraction?

1082


What is encapsulation with example?

1121


What is encapsulation in simple terms?

1046


What are the data types in oop?

1112


What is meant by oops concept?

1051


What is Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()?

2547


hi all..i want to know oops concepts clearly can any1 explain??

2143


what's the basic's in dot net

2193


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

2199


What is abstract class in oops?

1029