Check out example codes for "command line arguments in c". It will help you in understanding the concepts better.

Code Example 1

int main( int argc, char *argv[] )
./a.out kiran kumar gun
./a.out is arg[0]
kirna is arg[1]

Code Example 2

int main(int argc, char *argv[]) { /* ... */ }

Code Example 3

int main(int argc, char* argv[]){/*...*/}

Learn ReactJs, React Native from akashmittal.com