64/square(4)
Answer / sorab
#define square(x) x*x
main()
{
int i;
i = 64/square(4);
printf("%d",i);
}
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 ? | 9 Yes | 0 No |
What is getch() function?
hi send me sample aptitude papers of cts?
What are the loops in c?
Write a program to print a (*)pattern programming (A to Z) in capital in one programming ?
Why functions are used in c?
if ENTERED FIVE DIGITS DESIGN A PROGRAM THAT WILL FIND CORRESPONDING VALUE FROM ASCII TABLE
Which is more efficient, a switch statement or an if else chain?
Distinguish between actual and formal arguments.
Is an array parameter is always "by reference" ?
#include <stdio.h> void main() { int i=-1,j=1,k,l; k=!i&&j; l=!i||j; printf ("%d%d",k,l) ; }
What are the application of c?
What does it mean when a pointer is used in an if statement?