redefinition

Function calling main function

Multiple choice question

What is the output of the following code:

#include <stdio.h>

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);
   }
}

Syndicate content