所以这是在跟我开玩笑吗? #include <stdio.h> int main(void) { int iInput = 0x0; scanf("%x",&iInput); printf("%d\n",iInput); return 0; }