for(i=0;i<1;i++) { if(i==0) {a[i]=2; b[i]=1;} else b[i]=0;} for(i=0;i<1;i++){ if(b[i]==1) printf("%d",a[i]); else printf("no"); } return 0;}
#include <stdio.h> typedef union u { int data; char *str; }U[2]; int main() { U a; a[0].data = (int)2; a[1].str = "no"; printf("%d%s\n", a[0], a[1]); return 0; }