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 |
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.
Can true be a variable name in c?
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?
what is pointer
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...
Explain what is the stack?
What are structure members?
printf(), scanf() these are a) library functions b) userdefined functions c) system functions d) they are not functions
Is null always defined as 0(zero)?
Compare and contrast compilers from interpreters.
Explain how can I open a file so that other programs can update it at the same time?
#include<stdio.h> main() { char s1[]="Ramco"; char s2[]="Systems"; s1=s2; printf("%s",s1); } Find the output