Basic C Programming MCQ Questions and Answers
Practice ModeShowing 10 of 198 questions
Q81
The following program
main ()
{
static char a[3][4] = {"abcd", "mnop", "fghi"};
putchar (**a);
}
Answer: Option D
Q82
C does no automatic array bound checking. This is
Answer: Option
Q83
printf ("%10.5s", wer);
outputs
Answer: Option C
Q84
printf ("%-10.s", wer);
outputs
Answer: Option C
Q85
printf ("%-10.*s", hh, wer);
outputs
Answer: Option B
Q86
If n has the value 3, then the statement a[++n] = n++;
Answer: Option D
Q87
Choose the statement that best defines an array
Answer: Option C
Q88
Choose the correct statements.
Answer: Option
Q89
The order in which actual arguments are evaluated in a function call
Answer: Option C
Q90
If a global variable is of storage class static, then
Answer: Option