C-Command Line Arguments Questions and Answers
Practice ModeShowing 10 of 129 questions
Q101
FILE is a
Answer: Option A
Q102
When a file is able to keep information about file that is called
Answer: Option A
Q103
EOF is the symbolic name of
Answer: Option C
Q104
What will be the contents of a file
void main ()
{
FILE *p
p=fopen("letter.txt",w");
putc('D',p);
putc('e',p);
putc('a',p);
putc('r',p);
fseek(p,-3, SEEK_cur);
putc('i',p);
}
Answer: Option B
Q105
How many streams are opened when data is written from keyboard to buffer and bufer to file.
Answer: Option B
Q106
fopen( ) function opens a
Answer: Option B
Q107
When file is opened for read mode at that itme file pointer gives
Answer: Option A
Q108
Which of the following operator is used as file modifier
Answer: Option A
Q109
'putc' s a command to
Answer: Option B
Q110
The file which contain main () function is called as
Answer: Option A