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

What is an interface in oop?

1052


What is difference between multiple inheritance and multilevel inheritance?

1152


What are oops functions?

1038


What is polymorphism used for?

1073


What does and I oop and sksksk mean?

1164


officer say me - i am offered to a smoking , then what can you say

2103


How to improve object oriented design skills?

1018


What is the types of inheritance?

1099


What is oops?what is its use in software engineering?

1036


What is abstraction encapsulation?

1132


What is interface in oop?

1136


What is static modifier?

1234


What does oop mean in snapchat?

1246


Why is encapsulation used?

1002


Is enum a class?

1071