command line arguments c
snippet in c

command line arguments in c

user1846

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

command line arguments c

user7372

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