1.

What will be the output of the following C code?
#include <stdio.h>
int main()
{
char *str = "Interview";
int n = 30;
printf("%*s", n, str);
}

A. Undefined
B. Interview
C. Interview (note:followed by two spaces after Interview)
D. Interview(note: spaces to the left of Interview)
E. None of these
Answer» E. None of these


Discussion

No Comment Found

Related MCQs