Sail E0 Webinar
Question


What will be the output of the program (sample.c) given below if it is executed from the command line?
cmd> sample Jan Feb Mar


/* sample.c */
#include<stdio.h>
#include<dos.h>
int main(int arc, char *arv[])
{
int i;
for(i=1; i
Options:
A .  No output
B .  sample Jan Feb Mar
C .  Jan Feb Mar
D .  Error
Answer: Option C



Submit Your Solution Below and Earn Points !
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers