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 difference between structure and union in c programming?

1097


What is %d used for?

1036


What are keywords in c with examples?

1082


What is the difference between union and structure in c?

1170


c programs are converted into machine language with the help of a) an interpreter b) a compiler c) an operatinf system d) none of the above

1254


What is the use of getchar() function?

1127


Write a program that accept anumber in words

1758


How do we declare variables in c?

1059


what do the 'c' and 'v' in argc and argv stand for?

1163


Explain about the functions strcat() and strcmp()?

1047


Can two or more operators such as and be combined in a single line of program code?

1367


What does == mean in texting?

1291


printf(), scanf() these are a) library functions b) userdefined functions c) system functions d) they are not functions

1154


What does #pragma once mean?

1162


What is a 'null pointer assignment' error? Explain what are bus errors, memory faults, and core dumps?

1233