What is the output of the following code:
void m(int argc, char *argv[])
{
main(argc,argv);
}
void main(int argc, char *argv[])
{
if (argc>0)
{
printf("%s\n", *argv);
argc--;
argv++;
m(argc,argv);
}
}
The code will output the program name and it's parameters | |
This code has a compilation error: it is forbidden calling to main function | |
This code has a compilation error: redefinition |