【发布时间】:2014-06-27 09:39:07
【问题描述】:
假设,例如,我有以下内容
mtype = {ONE, TWO, THREE} ;
mtype array[3] ;
mtype test ;
test = array[0] ;
printf("Test is %e\n", test) ;
我明白了
Test is 1
我理解是因为底层变量是 char 类型。但是,我想获取那个 char 的 mtype,有没有办法将一个 char 交叉引用回它的 mtype?
【问题讨论】: