C Programming :: Arrays - Discussion
Home > C Programming > Arrays > MCQs Questions Discussion
11 / 55
What is the output of the following C Program?
#include<stdio.h>
#define max 5
#define int arr1[max]
int main()
{
typedef char arr2[max];
arr1 list={0,1,2,3,4};
arr2 name="name";
printf("%d %s",list[0],name);
return 0;
}
#include<stdio.h>
#define max 5
#define int arr1[max]
int main()
{
typedef char arr2[max];
arr1 list={0,1,2,3,4};
arr2 name="name";
printf("%d %s",list[0],name);
return 0;
}
A0 name
BGarbage Value
C1 name
DCompilation error
Answer: Option (Login/Signup)
Show Explanation
Asked In ::
No Discussion on this question yet!