[Updated] Goldman Sachs Aptitude Test Questions and Answers
Practice List of TCS Digital Coding Questions !!!
Take 50+ FREE!! Online Data Interpretation Mock test to crack any Exams.

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;
}

A0 name

BGarbage Value

C1 name

DCompilation error

Answer: Option (Login/Signup)

Show Explanation

Asked In ::

Post Your Answer Here:     

No Discussion on this question yet!