1.

Will the program outputs "IndiaBIX.com"?

#include<stdio.h>
#include<string.h> int main()
{ char str1[] = "IndiaBIX.com"; char str2[20]; strncpy(str2, str1, 8); printf("%s", str2); return 0;
}

A. Yes
B. No
Answer» C.


Discussion

No Comment Found