C-Command Line Arguments Questions and Answers
Practice ModeShowing 10 of 129 questions
Q71
To flush all output streams we can write
Answer: Option A
Q72
Which of the following function is appropriate to read one character at a time ?
Answer: Option B
Q73
In what order do the two command line variablesl appear in the definition of main ?
Answer: Option A
Q74
The function unlik (filename) is used
Answer: Option B
Q75
Which of the following function return NULL on end of the file ?
Answer: Option D
Q76
O_CREAT command can
Answer: Option A
Q77
Opening of file stream means
Answer: Option A
Q78
What does the argument count variable store ?
Answer: Option A
Q79
Find the output
#include"stdio.h"
void main ( )
{
FILE *fp;
int x;
fp=fopen("xyz.txt","w");
x=fprintf(fp, "%d%d", 1, 2, 3);
printf("%d" ,x);
}
Answer: Option B
Q80
Which of the following command directly writes into disk file ?
Answer: Option B