char n,qq;
n=tt;
qq=hao;
hu_te(n,qq);
return 0;
}
[root@localhost c]# gcc -Wall -o one-canshu one-canshu.c
one-canshu.c: In function ‘main’:
one-canshu.c:10: error: ‘tt’ undeclared (first use in this function)
one-canshu.c:10: error: (Each undeclared identifier is reported only once
one-canshu.c:10: error: for each function it appears in.)
one-canshu.c:11: error: ‘hao’ undeclared (first use in this function
用int 传都没问题。