What would be the output of following

#include<stdio.h>
void main()
   int a=0,b=1,c;
    if(a&&(b=5))
   c=1;
 else
  c=2;
printf("%d %d %d",a,b,c);
}

Posted on by