[C] Integer Type
Integer Type Print
#include <stdio.h>
int main(void)
{
printf("10 + 20\n"); // 10 + 20
printf("%d\n", 10 + 20); // 30
return 0;
}
Integer Type Formatting
#include <stdio.h>
int main(void)
{
printf("A%3dB\n", 1); // A 1B
printf("A%-3dB\n", 1); // A1 B
return 0;
}