1 typedef struct{short ttype;float s;}T; 2 short t[8][8]; 3 f(T t2,T t1)4 T f(T t2,T t1) 5 { 6 T x; 7 if (t1.ttype == 1) 8 x.ttype = t[t2.ttype][t1.ttype], 9 x.s = 1; 10 return x; 11 } 12