Data Structure Arrays Question:
Download Questions PDF

What will be output if you will execute following c code?
#include<stdio.h>
void main(){
char arr[11]="The African Queen";
printf("%s",arr);

Answer:

null.

Download Arrays Interview Questions And Answers PDF

Previous QuestionNext Question
What will be output if you will execute following c code?
#include<stdio.h>
void main(){
char arr[7]="Network";
printf("%s",arr);
What will be output if you will execute following c code?
#include<stdio.h>
void main(){
char arr[20]="MysticRiver";
printf("%d",sizeof(arr));