cprimer_study/c03_data/print2.c

12 lines
327 B
C

/* print2.c -- 更多printf()的特性 */
#include <stdio.h>
int main(void)
{
printf("un = %u and not %d\n", 3000000000, 3000000000);
printf("end = %hd and %d\n", 200, 200);
printf("big = %ld and not %hd\n", 65537, 65537);
printf("verybig = %lld and not %d\n", 12345678908642, 12345678908642);
return 0;
}