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

Explain how do you determine the length of a string value that was stored in a variable?

1155


What is structure data type in c?

1023


What are structure types in C?

1105


What is multidimensional arrays

1130


Why is #define used?

1275


Are global variables static in c?

1169


Why cant I open a file by its explicit path?

1035


How can you avoid including a header more than once?

986


Write a program to check whether a number is prime or not using c?

1058


What are examples of structures?

1114


What is c programing language?

1087


Which is more efficient, a switch statement or an if else chain?

1027


while initialization of array why we use a[][2] why not a[2][]...?

2365


Differentiate Source Codes from Object Codes

1584


How do you sort filenames in a directory?

1185