#define square(x) x*x
main()
{
int i;
i = 64/square(4);
printf("%d",i);
}
Answers were Sorted based on User's Feedback
Answer / susie
Answer :
64
Explanation:
the macro call square(4) will substituted by 4*4
so the expression becomes i = 64/4*4 . Since / and * has
equal priority the expression will be evaluated as (64/4)*4
i.e. 16*4 = 64
| Is This Answer Correct ? | 231 Yes | 14 No |
what will be the position of the file marker? a: fseek(ptr,0,SEEK_SET); b: fseek(ptr,0,SEEK_CUR);
what is variable length argument list?
Write a C program to add two numbers before the main function is called.
Print an integer using only putchar. Try doing it without using extra storage.
Give a oneline C expression to test whether a number is a power of 2?
25 Answers EA Electronic Arts, Google, Motorola,
How can you relate the function with the structure? Explain with an appropriate example.
How to read a directory in a C program?
How do you verify if the two sentences/phrases input is an anagram using predefined functions in string.h and by using arrays?
source code for delete data in array for c
main(int argc, char *argv[]) { (main && argc) ? main(argc-1, NULL) : return 0; } a. Runtime error. b. Compile error. Illegal syntax c. Gets into Infinite loop d. None of the above
Program to find the largest sum of contiguous integers in the array. O(n)
Given a spherical surface, write bump-mapping procedure to generate the bumpy surface of an orange