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

main()
{
char *ptr = "Ramco Systems";
(*ptr)++;
printf("%s\n",ptr);
ptr++;
printf("%s\n",ptr);
}
Find the Outputs?

Answer Posted / soundar

Address of the variable will be displayed for the first
printf stmt

previous address will be incremented and current address of
variable will displayed for second printf stmt

Is This Answer Correct ?    3 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Do you know the difference between malloc() and calloc() function?

1002


Why is main function so important?

1045


all c language question

2374


what will be the output for the following main() { printf("hi" "hello"); }

10785


Can we initialize extern variable in c?

1073


What are register variables in c?

973


Add Two Numbers Without Using the Addition Operator

765


What is external variable in c?

1008


What is optimization in c?

945


Explain what are the different file extensions involved when programming in c?

1049


can any one tel me wt is the question pattern for NIC exam

1922


what is the role you expect in software industry?

2082


ATM machine and railway reservation class/object diagram

5191


What is infinite loop?

1026


Why is c so popular?

1115