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

segmentation fault.U can give that as *(ptr+1)

Is This Answer Correct ?    8 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can a void pointer point to a function?

1029


What is keyword in c?

1017


What is memory leak in c?

1129


What is nested structure with example?

1080


Implement bit Array in C.

1154


What are the main characteristics of c language describe the structure of ac program?

1215


What happens if a header file is included twice?

1038


How do I convert a string to all upper or lower case?

1125


diff between exptected result and requirement?

2062


hi... can anyone help me to make a two-dimensinal arrays in finding the sum of two elements plzzz. thnx a lot...

1919


Combinations of fibanocci prime series

1619


When should we use pointers in a c program?

1143


What is the description for syntax errors?

1171


how to find anagram without using string functions using only loops in c programming

3196


How can I delete a file?

1068