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()
{
int *ptr=(int*)malloc(sizeof(int));
*ptr=4;
printf("%d",(*ptr)+++*ptr++);
}

Answer Posted / abhishek

(*ptr)++ = 5
(*ptr)++ = 5
(*ptr)+++(*ptr)++ = 5 + 5 = 10

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between printf and scanf in c?

1349


What is auto keyword in c?

1206


How can I rethow can I return a sequence of random numbers which dont repeat at all?

1188


What are the different types of data structures in c?

1164


Is struct oop?

1002


Explain Function Pointer?

1163


Write a program to produce the following output: 1 2 3 4 5 6 7 8 9 10

15805


Function calling procedures? and their differences? Why should one go for Call by Reference?

1082


Are global variables static in c?

1163


What is use of integral promotions in c?

1146


Which header file is used for clrscr?

1051


Difference between malloc() and calloc() function?

1199


What are the application of c?

1093


What is maximum size of array in c?

1036


Explain what is the difference between text files and binary files?

1153