21. #define square(x) x*x
main()
{
int i;
i = 64/square(4);
printf("%d",i);
}
Answers were Sorted based on User's Feedback
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 |
Can a file other than a .h file be included with #include?
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?
What is a function simple definition?
What is calloc() function?
simple program of graphics and their output display
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....
Are negative numbers true in c?
Is null valid for pointers to functions?
What is variables in c?
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
Explain what are bus errors, memory faults, and core dumps?