summaryrefslogtreecommitdiff
path: root/main.c
blob: d4190491b33489c8fec697696f3cd32e6db0139d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include <stdio.h>

// name: main
// parameters:
  // argc: # of arguments passed to the program
  // argv: argument vector. list of parameters that passed to the program
// return int which is a number
int main(int argc, char const *argv[])
{
  printf("number of args: %d\n", argc);
  printf("args: %s\n", argv[0]);
  return 0;
}