printfa=%d

  1. debiprasad_sahoo

    Please Solve this C program

    int main() static int a=5,b=6,temp; #define swap(a,b)temp=a;a=b;b=temp; { if(a>b) swap(a,b) printf("a=%d b=%d",a,b); return(0); } The output is: a=6 b=0 How & why?
Top Bottom