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

There is a 100-story building and you are given two eggs. The eggs (and the building) have an interesting property that if you throw the egg from a floor number less than X, it will not break. And it will always brake if the floor number is equal or greater than X. Assuming that you can reuse the eggs which didn't broke; you got to find X in a minimal number of throws. Give an algorithm to find X in minimal number of throws.

5 Answers   Yahoo,


Can true be a variable name in c?

0 Answers  


Every time i run a c-code in editor, getting some runtime error and editor is disposing, even after reinstalling the software what may be the problem?

2 Answers  


what is pointer

1 Answers   TCS,


I have written a pro*C program to fetch data from the cursor. where in i have used the concept of BULK FETCH.... each FETCH statement is taking lots of time to fetch specified number of rows at...

0 Answers  


Explain what is the stack?

0 Answers  


What are structure members?

0 Answers  


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

0 Answers  


Is null always defined as 0(zero)?

0 Answers  


Compare and contrast compilers from interpreters.

0 Answers  


Explain how can I open a file so that other programs can update it at the same time?

0 Answers  


#include<stdio.h> main() { char s1[]="Ramco"; char s2[]="Systems"; s1=s2; printf("%s",s1); } Find the output

5 Answers   CitiGroup,


Categories