Contact: aviboots(AT)netvision.net.il
39,855 questions
51,776 answers
573 users
#include <stdio.h> struct Test { union { char ch; int n; }; }; int main() { struct Test t; t.n = 97; printf("t.ch = %c t.n = %d\n", t.ch, t.n); return 0; } /* run: t.ch = a t.n = 97 */