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 / s k dubey

hello ,if problem is..
int *p=(int*)malloc(sizeof(int));
*p=4;
printf("%d",(*p)+++(*p)++);

o/p is 9;

it is just similar the case of post incremental operation of
variable like i+++i++.

Is This Answer Correct ?    158 Yes 14 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is nested structure?

1054


What is c definition?

1283


What is #include conio h?

1009


How do I read the arrow keys? What about function keys?

1091


Explain pointer. What are function pointers in C?

1088


Why is structure padding done in c?

1138


PLS U SENS ME INTERVIEW O. MY EMAIL ADD, SOFIYA.SINGH@GMAIL.COM

2189


What are the c keywords?

1208


Why do we use int main instead of void main in c?

1155


What does 3 periods mean in texting?

1072


write a c program in such a way that if we enter the today date the output should be next day's date.

2200


What do you mean by keywords in c?

1155


Explain how can I open a file so that other programs can update it at the same time?

1122


Can you add pointers together? Why would you?

1131


How to create struct variables?

1118