main(int argc,char *argv[])
{
......;
......;
}
Here argc is an interger variable and indicates the number of parameters passed. argv is an array of pointers to characters My doubt is I seen an program using
main(int argc, int*argv[])
{
......;
......;
}
is it valid can we use argv as an array of pointers to integers?