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...

64/square(4)

Answer Posted / sorab

#define square(x) x*x
main()
{
int i;
i = 64/square(4);
printf("%d",i);
}
the macro call square(4) will substituted by 4*4 so the expression becomes i = 64/4*4 . Since / and * has equal priority the expression will be evaluated as (64/4)*4 i.e. 16*4 = 64

Is This Answer Correct ?    9 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is formal argument?

1094


What's a good way to check for "close enough" floating-point equality?

1097


What is the right type to use for boolean values in c? Is there a standard type? Should I use #defines or enums for the true and false values?

996


Why pointers are used?

1026


What are the advantages and disadvantages of pointers?

1015


The file stdio.h, what does it contain?

1119


Why C language is a procedural language?

981


FILE *fp1,*fp2; fp1=fopen("one","w") fp2=fopen("one","w") fputc('A',fp1) fputc('B',fp2) fclose(fp1) fclose(fp2)} a.error b. c. d.

1708


What does typeof return in c?

1022


what is associativity explain what is the precidence for * and & , * and ++ how the folloing declaration work 1) *&p; 2) *p++;

2563


How can I make sure that my program is the only one accessing a file?

1195


will u please send me the placement papers to my mail???????????????????

1796


How can I remove the leading spaces from a string?

1099


In c programming, explain how do you insert quote characters (? And ?) Into the output screen?

1203


What's the right way to use errno?

1090