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 41 of 53

Explore more Topics under C Programming

Q401.
Consider the declaration

char street[10] = "abcdefghi";

Choose the correct remark(s)
Discuss
Answer: (d).None of the above
Q402.
Prior to using a pointer variable it should be
Discuss
Answer: (c).Both declared and initalized
Q403.
Consider the declaration:

char x[]="WHATIZIT";
char *y="WHATIZIT
";
The output of puts(x) an puts(y) will be
Discuss
Answer: (a).Will be the same
Q404.
Consider the declarations:

char first (int(*)(char,float));
int second(char,float);

Which of the following function invocation is valid?
Discuss
Answer: (c).First(second);
Q405.
In C a pointer variable to an integer can be created by the decalaration
Discuss
Answer: (b).int *p;
Discuss
Answer: (d).None fo these
Discuss
Answer: (c).Returned by a function
Discuss
Answer: (a).a and b are structures
Q409.
The statement 

 if ( myPtr != NULL )
         *myPtr = NULL;
else
         *myPtr = NULL;

has the same effect as the statements(s)
Discuss
Answer: (d).All of these
Q410.
Consider the following program fragment. In which of the following cases will the character 't' be printed?
static char wer[3][4] = {"bag", "let", "bud"};
 char(*ptr)[4] = wer;
Discuss
Answer: (b).putchar ( * (wer [1] + 2) ) ;

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!