Question
a.
It is a collection of items that share a common name
b.
It is a collection of items that share a common name and occupy consecutive memory location
c.
It is a collection of items of the same type and storage class that share a common name and occupy consecutive memory locations
d.
None of the above
Posted under C Programming
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. Choose the statement that best defines an array
Similar Questions
Discover Related MCQs
Q. Choose the correct statement:
View solution
Q. A set of names can be represented as a
View solution
Q. If arr is a two dimensional array of 10 rows and 12 columns, then arr (5) logically points to the
View solution
Q. While sorting a set of names, representing the names as an array of pointers is preferable to representing the names as a two dimensional array of characters because
View solution
Q. Choose the correct statement :
View solution
Q. Pick the correct answers
if x is an one dimensional array, then
View solution
Q. Choose the correct statement :
View solution
Q. A file is preferable to an array of structures because
View solution
Q. Consider the declaration
char street[10] = "abcdefghi";
Choose the correct remark(s)
View solution
Q. Prior to using a pointer variable it should be
View solution
Q. Consider the declaration:
char x[]="WHATIZIT";
char *y="WHATIZIT
";
The output of puts(x) an puts(y) will be
View solution
Q. Consider the declarations:
char first (int(*)(char,float));
int second(char,float);
Which of the following function invocation is valid?
View solution
Q. In C a pointer variable to an integer can be created by the decalaration
View solution
Q. Which of the following is most appropriate?
View solution
Q. A pointer variable can be
View solution
Q. a→b is syntactically correct if
View solution
Q. The statement
if ( myPtr != NULL )
*myPtr = NULL;
else
*myPtr = NULL;
has the same effect as the statements(s)
View solution
Q. Consider the following program fragment.
static char wer[3][4] = {"bag", "let", "bud"};
char(*ptr)[4] = wer;
The possible output of printf ( "%d %d", wer, wer +1); is
View solution
Q. The operators > and < are meaningful when used with pointers, if
View solution
Q. Choose the best answer. Prior to using a pointer variable
View solution
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!