-
What will be the output of the following C code?
#include <stdio.h>
int main(int argc, char** argv)
{
char *str = "Interveiw";
int n = 3;
printf("%10.*s", n, str);
}
-
- Int(note:6 spaces after Int)
- Interveiw(note:2 spaces after myworld)
- Interveiw(note:2 spaces before myworld)
- Int
- None of these
Correct Option: A
Int(note:6 spaces after Int)