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


21. #define square(x) x*x
main()
{
int i;
i = 64/square(4);
printf("%d",i);
}

Answers were Sorted based on User's Feedback



21. #define square(x) x*x main() { int i; i = 64/square(4); printf("%d",i); }..

Answer / ashok kumar

i=64/4*4;
i=16*4;
i=64


The final result is : 64

Is This Answer Correct ?    18 Yes 2 No

21. #define square(x) x*x main() { int i; i = 64/square(4); printf("%d",i); }..

Answer / rocker1198

Its 64/(4*4)
ans is 4

Is This Answer Correct ?    1 Yes 5 No

21. #define square(x) x*x main() { int i; i = 64/square(4); printf("%d",i); }..

Answer / mathuri

4

Is This Answer Correct ?    2 Yes 9 No

Post New Answer

More C Interview Questions

what is a non volatile key word in c language?

1 Answers  


#define MAX(x,y) (x) > (y) ? (x) : (y) main() { int i = 10, j = 5, k = 0; k = MAX(i++, ++j); printf("%d %d %d", i,j,k); } what will the values of i , j and k? }

14 Answers   CDAC, GATE, NDS, TCS,


IS STRUCTURES CAN BE USED WITHIN AN ARRAY?

7 Answers   Caritor,


What does a derived class inherit from a base class a) Only the Public members of the base class b) Only the Protected members of the base class c) Both the Public and the Protected members of the base class d) .c file

0 Answers  


How can you allocate arrays or structures bigger than 64K?

0 Answers  


write an interactive program to generate the divisors of a given integer.

7 Answers   TCS,


how many error occurs in C language ?

22 Answers   Infosys, Wipro,


why wipro wase

0 Answers   Wipro,


main() { char ch='356'; Printf("%d",ch); } *OUTPUT*:- -18 *Why?*

1 Answers  


Write a C program to get the desired output. 1 1 2 1 1 3 3 1 1 4 6 4 1 1 5 10 10 5 1 . . . 1 n..............n 1 Note: n is a positive integer entered by the user.

4 Answers  


What are reserved words with a programming language?

0 Answers  


10. Study the code: void show() main() { show(); } void show (char *s) { printf("%sn",s); } What will happen if it is compiled & run on an ANSI C Compiler? A)It will compile & nothing will be printed when it is executed B)it will compile but not link C)the compiler will generate an error D)the compiler will generate a warning

5 Answers   Accenture,


Categories