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

What are the uses of a pointer?

1114


What is const and volatile in c?

994


What is a pointer in c?

1430


What is the difference between %d and %i?

1054


Hai what is the different types of versions and their differences

1902


Do character constants represent numerical values?

1290


What are loops c?

1005


Write a program to know whether the input number is an armstrong number.

1076


What is the process to generate random numbers in c programming language?

1110


How can I get the current date or time of day in a c program?

1175


What is omp_num_threads?

1042


Do array subscripts always start with zero?

1245


What does != Mean in c?

1000


What is the advantage of c?

1055


How do you define CONSTANT in C?

1218