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 wrong in this statement? scanf(“%d”,whatnumber);

0 Answers  


the number 138 is called well ordered number because the three digits in the number (1,3,8) increase from left to right (1<3<8). the number 365 is not well ordered coz 6 is larger than 5. write a program that wull find and display all possible three digit well ordered numbers. sample: 123,124,125,126,127,128,129,134 ,135,136,137,138,139,145,146,147 148 149,156.......789

5 Answers  


.find the output of the following program? char*myfunc(char*ptr) { ptr +=3; return (ptr); } int main() { char*x,*y; x="HELLO"; y=myfunc(x); printf("y = %s ",y); return 0; }

0 Answers  


What is volatile

2 Answers  


int far *near * p; means

0 Answers   Honeywell,






what is uses of .net

0 Answers  


What do you mean by recursion in c?

0 Answers  


How does C++ help with the tradeoff of safety vs. usability?

1 Answers  


what is disadvantage of pointer in C

13 Answers   Tech Mahindra,


main use of recursive function a) processing speed high b) reduce program length/reduce repeated statements c) if you do not, use iterative methods like, for, while or do-while d) all the above

0 Answers  


What is function in c with example?

0 Answers  


pointer_variable=(typecasting datatype*)malloc(sizeof(datatype)); This is the syntax for malloc?Please explain this,how it work with an example?

2 Answers   eClerx, Excel, kenexa,


Categories