#include"stdio.h"
typedef signed char int8;
typedef unsigned char uint8;
typedef signed short int int16;
typedef unsigned short int uint16;
typedef signed long int int32 ;
typedef unsigned long int uint32;
int main()
{
int8 num8 =0;
int16 num16 =0;
int32 num32 =0;
int32 numb32 =0;
int16 numb16 =0;
int8 numb8 =0;
printf("input a number16 :
");
scanf("%d",&num16);
printf("input a number8:
");
scanf("%d",&num8);
printf("input a number32:
");
scanf("%d",&num32);
printf("num16: %d num8: %d num32: %d
",num16,num8,num32);
printf("------------------------------------------------------
");
printf("input a number16 :
");
scanf("%d",&numb16);
printf("input a number8:
");
scanf("%d",&numb8);
printf("input a number32:
");
scanf("%d",&numb32);
printf("numb16: %d numb8: %d numb32: %d
",numb16,numb8,numb32);
getchar();
printf("a");
}
![](https://img-blog.csdn.net/20160831200430768?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQv/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center)
![](https://img-blog.csdn.net/20160831200450986?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQv/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast)