Top

Discussion

If the following program (myproc.c) is present in the directory "C:\TC" then what will be output of the program if run it from DOS shell?

/* myproc.c */
#include

int main(int argc, char *argv[])
{
    printf("%s", argv[0]);
    return 0;
}

 

  • A.SAMPLE.C
  • B.C:\TC\MYPROC.EXE
  • C.C:\TC
  • D.Error

Answer: B

No answer description available for this question.

No comment is present. Be the first to comment.
Loading…

Post your comment