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)



64/square(4) ..

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

More C Interview Questions

What is getch() function?

0 Answers  


hi send me sample aptitude papers of cts?

0 Answers  


What are the loops in c?

0 Answers  


Write a program to print a (*)pattern programming (A to Z) in capital in one programming ?

2 Answers   TCS,


Why functions are used in c?

0 Answers  


if ENTERED FIVE DIGITS DESIGN A PROGRAM THAT WILL FIND CORRESPONDING VALUE FROM ASCII TABLE

1 Answers  


Which is more efficient, a switch statement or an if else chain?

0 Answers  


Distinguish between actual and formal arguments.

0 Answers  


Is an array parameter is always "by reference" ?

1 Answers  


#include <stdio.h> void main() { int i=-1,j=1,k,l; k=!i&&j; l=!i||j; printf ("%d%d",k,l) ; }

3 Answers   SRG,


What are the application of c?

0 Answers  


What does it mean when a pointer is used in an if statement?

0 Answers  


Categories