c command arguments code example
Example 1: command line arguments in c
int main( int argc, char *argv[] )
./a.out kiran kumar gun
./a.out is arg[0]
kirna is arg[1]
Example 2: command line arguments c
int main(int argc, char* argv[]){/*...*/}
int main( int argc, char *argv[] )
./a.out kiran kumar gun
./a.out is arg[0]
kirna is arg[1]
int main(int argc, char* argv[]){/*...*/}