printf_neg_pad.c 123 B

12345
  1. #include <stdio.h>
  2. int main() {
  3. printf ("A%*s%s/\n", 5, "B", "CC");
  4. printf ("A%*s%s/\n", -5, "B", "CC");
  5. }