-
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);
}
-
- Undefined
- Interview
- Interview (note:followed by two spaces after Interview)
- Interview(note: spaces to the left of Interview)
- None of these
Correct Option: D
Interview(note: spaces to the left of Interview)