Miscellaneous Company Exam
Company
Programming
Program
If the following program (myprog) is run from the command line as myprog 1 2 3, What would be the output?
main(int argc, char *argv[))
{
nt i,j=O;
for(i=O;i0)
printf(”%s” , * + +a rgv);
a) myprog monday tuesday wednesday thursday b) monday tuesday wednesday thursday c) myprog tuesday thursday d) None of the above
Read Solution (Total 1)
-
- d) None of the above...
It ll print what you have given inm command line (ie) it ll print 1 2 3 - 10 years agoHelpfull: Yes(15) No(0)
Miscellaneous Company Exam Other Question