typedef signed char int8_t;typedef signed short int int16_t;typedef signed int int32_t;typedef signed __INT64 int64_t;/* exact-width unsigned integer types */typedef unsigned char uint8_t;typedef unsigned short int uint16_t;typedef unsigned int uint32_t;typedef unsigned __INT64 uint64_t...
这里以四位数为例,仅提供思路。#includevoidmain(){inta=4234;charnum_arr[4];//intnum0=a/1000;//取千位上的数intnum1=a/100%10;//取百位上的数intnum2=a/10%10;//取十位上的数intnum3=a%10;//取个位上的数num_arr[0]=num0+48;num_arr[1]=num1+48;num_arr[2]=num2+4...