C-Command Line Arguments Questions and Answers
Practice ModeShowing 10 of 129 questions
Q111
What is the name of the active file pointer of file in Turbo C?
Answer: Option B
Q112
The first argument argc in main () function counts
Answer: Option A
Q113
The argument argv [] is used to
Answer: Option B
Q114
What is the file extension for font files?
Answer: Option D
Q115
puts(argv[0])
Answer: Option C
Q116
Which of the following header file must included to use functions with variable number of arguments?
Answer: Option C
Q117
Find the output
void main ()
{
char s[ ] = '"rama";
strcpy(stdout,s);
strcat (stdout,"shyama");
printf("%s",stdout);
}
Answer: Option D
Q118
Without function parameter as argudment counter, we can achieve argument counter using
Answer: Option B
Q119
Stream oriented files are called as
Answer: Option B
Q120
What type is argv?
Answer: Option C