如何给unsigned char 数组赋值

如题所述

第1个回答  2017-10-17
可以进行普通赋值:unsigned char c='A'; c=0x65; c=77;
也可以利用函数:scanf("%c",&c);