Difference between char *argv[] and char **argv for the second argument to main()
CODE 1 CODE 2 CODE 1 and CODE 2 both give same output. but argument 2 of main function in CODE 1 and CODE 2 are different. Array of pointers are created above data section at compile time. argv is array of pointers. Then we should declare argument in main function as pointer to pointer … Read more