1 2 3 4 5 6 7 8 9
typedef struct two_ch_struct { char ch1; char ch2; } two_ch; two_ch max( two_ch a, two_ch b ) { return (a.ch1>b.ch1) ? a : b; }