printargs-test.c 144 B

12345678910
  1. #include <stdio.h>
  2. int main(int argc, char **argv)
  3. {
  4. for (int i = 1; i < argc; i++) {
  5. printf("arg%d=%s;", i, argv[i]);
  6. }
  7. return 0;
  8. }