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 / aravind

I think it gives syntax error because there is no operation in C which says P+++ just P++.If he can seperate that one + than the above ans is will be 5+5=10.

Is This Answer Correct ?    5 Yes 35 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is different between auto and local static? why should we use local static?

1130


write a program to convert a expression in polish notation(postfix) to inline(normal) something like make 723+* (2+3) x 7 (not sure) just check out its mainly printing expression in postfix form to infix.

2849


Given a valid 24 hour format time find the combination of the value and write a program ,do not hard the value and if any other inputs provided should work with the logic implemented Input: 11:30 Output: 13:10 Input: 18:25 Output: 21:58

1538


What are the advantages of Macro over function?

2038


Can we add pointers together?

1071


What are identifiers in c?

1209


When a c file is executed there are many files that are automatically opened what are they files?

1118


What is malloc() function?

1175


What is a char c?

1052


What is a good way to implement complex numbers in c?

1060


What functions are used for dynamic memory allocation in c language?

1161


In C language, a variable name cannot contain?

1287


Create a simple code fragment that will swap the values of two variables num1 and num2.

1298


What is variable and explain rules to declare variable in c?

1105


What is the process to create increment and decrement stamen in c?

1066