1.

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); }

A. Int(note:6 spaces after Int)
B. Interveiw(note:2 spaces after myworld)
C. Interveiw(note:2 spaces before myworld)
D. Int
E. None of these
Answer» B. Interveiw(note:2 spaces after myworld)


Discussion

No Comment Found

Related MCQs