adplus-dvertising

Welcome to the Pointers and Arrays in C MCQs Page

Dive deep into the fascinating world of Pointers and Arrays in C with our comprehensive set of Multiple-Choice Questions (MCQs). This page is dedicated to exploring the fundamental concepts and intricacies of Pointers and Arrays in C, a crucial aspect of C Programming. In this section, you will encounter a diverse range of MCQs that cover various aspects of Pointers and Arrays in C, from the basic principles to advanced topics. Each question is thoughtfully crafted to challenge your knowledge and deepen your understanding of this critical subcategory within C Programming.

frame-decoration

Check out the MCQs below to embark on an enriching journey through Pointers and Arrays in C. Test your knowledge, expand your horizons, and solidify your grasp on this vital area of C Programming.

Note: Each MCQ comes with multiple answer choices. Select the most appropriate option and test your understanding of Pointers and Arrays in C. You can click on an option to test your knowledge before viewing the solution for a MCQ. Happy learning!

Pointers and Arrays in C MCQs | Page 47 of 53

Q461.
Are the three declarations char **apple, char *apple[], and char apple[][] same?
Discuss
Answer: (b).No
Q462.
Is the NULL pointer same as an uninitialised pointer?
Discuss
Answer: (b).No
Q463.
Is there any difference between the following two statements?
char ****k;char *p=0;
char *t=NULL;
Discuss
Answer: (b).No
Q464.
Is this a correct way for NULL pointer assignment?
int i=0;
char *q=(char*)i;
Discuss
Answer: (b).No
Discuss
Answer: (d).All of the above
Discuss
Answer: (d).All of the above
Q467.
What are the Types of Arrays?
Discuss
Answer: (d).All of the above
Q468.
An array Index starts with

a.

-1

b.

0

c.

1

d.

2

Discuss
Answer: (b).0
Q469.
What is the output of C Program?
int main() 
{ 
int a[]; 
a[4] = {1,2,3,4}; 
printf("%d", a[0]); 
}
Discuss
Answer: (d).Compiler error
Q470.
What is the output of C Program?
int main() 
{ 
int a[] = {1,2,3,4}; 
int b[4] = {5,6,7,8}; 
printf("%d,%d", a[0], b[0]);
}
Discuss
Answer: (a).1,5

Suggested Topics

Are you eager to expand your knowledge beyond C Programming? We've curated a selection of related categories that you might find intriguing.

Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!