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

Why we use int main and void main?

1072


Difference between macros and inline functions? Can a function be forced as inline?

1267


What is the difference between array and structure in c?

1157


Why do we write return 0 in c?

1049


Why is struct padding needed?

1083


What is c basic?

1166


Why does notstrcat(string, "!");Work?

1133


What is a program flowchart and how does it help in writing a program?

1136


What is the basic structure of c?

1076


What is New modifiers?

1124


What is this infamous null pointer, anyway?

1048


How can I split up a string into whitespace-separated fields?

1055


What is nested structure in c?

1060


Can stdout be forced to print somewhere other than the screen?

1047


What is the difference between null pointer and wild pointer?

1191