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

Can a file other than a .h file be included with #include?

0 Answers   Aspire, Infogain,


write a program to find the given number is prime or not

2 Answers   Accenture, Vasutech,


sir i wanted to know how we wap in c to add numbers without using arithmetic operator in which digits are entered by user?

2 Answers  


What is a function simple definition?

0 Answers  


What is calloc() function?

0 Answers  






simple program of graphics and their output display

0 Answers   Elysium,


main() { int i=5; printf("%d",++i + i); } output is 10 ------------------------ main() { int i=5; printf("%d",i++ + i); }output is 12 why it is so? give appropiate reason....

2 Answers  


Are negative numbers true in c?

0 Answers  


Is null valid for pointers to functions?

0 Answers  


What is variables in c?

0 Answers  


1)what is the error in the following stmt where str is a char array and the stmt is supposed to traverse through the whole character string str? for(i=0;str[i];i++) a)There is no error. b)There shud be no ; after the stmt. c)The cond shud be str[i]!='\0' d)The cond shud be str[i]!=NULL e)i shud be initialized to 1

4 Answers  


Explain what are bus errors, memory faults, and core dumps?

0 Answers  


Categories