1

Why does the following code prints 64 for i and 4 for j.

#include<stdio.h>
#define sqr(a) a*a
void main()
{
    int i;
    i=64/sqr(4);
    int j=64/16;
    printf("%d\n",i);
    printf("%d",j);
}

Output shown below

enter image description here

Mutaealim
  • 127
  • 11

0 Answers0