1.

What will be the output of the following C code if following commands are used to run and if Newfile does not exist?
gcc -o test test.c
./test > Newfile

#include <stdio.h>
int main(int argc, char **argv)
{
char ch = 'N';
putchar(ch);
printf(" %d n", argc);
}

A. Depends on the standard
B. Depends on the system
C. N 2 in Newfile
D. N 1 in Newfile
E. None of these
Answer» E. None of these


Discussion

No Comment Found

Related MCQs