When following piece of code is executed, what output will be generated?

1.5 When following piece of code is executed, what output will be generated?
#include<stdio.h>
int main(){
char arr[7]="Network";
printf("%s", arr);
return 0; }
A) Network
B) N
C) Garbage value
D) Compilation error

Leave a Reply