Report Bug

Qus

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

#include
int main(){
char arr[7]="Network";
printf("%s", arr);
return 0;
}
Qus

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

#include
int main(){
char arr[7]="Network";
printf("%s", arr);
return 0;
}


A. Network
B. N
C. Garbage value
D. Compilation error


Solution
A. Network



CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online Exam Quiz O Level NIELIT Study material and Quiz Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Best Website and Software Company in Allahabad Website development Company in Allahabad