C Array Questions and Answers
Practice ModeShowing 10 of 108 questions
Q1
Array is of
Answer: Option B
Q2
Array name is a
Answer: Option C
Q3
The only operatr that can act on the arrray as a whole is
Answer: Option B
Q4
Which of the following is true about array?
Answer: Option D
Q5
Identify the true statement
Answer: Option B
Q6
Fnd the output
'void main ( )
{
char a[4]="rama";
char b[ ] ="shyama";
printf{"%d %d", sizeof (a), sizeof (b));
}
Answer: Option A
Q7
Find the output
void main ()
{
char a[ ] ="rama";
har b [ ]=a;
printf("%d %s", sizeof (b), b);
}
Answer: Option D
Q8
Find the output
void main()
{
int a[ ] ={'a'a, 'b', 'c'};
printf("%d", sizeof (a));
}
Answer: Option D
Q9
It is said that the arrray uses "zero-basee addressing"because
Answer: Option B
Q10
Which is the about array ?
Answer: Option C