Question
int (*ptr)[10];
a.
ptr is array of pointers to 10 integers
b.
ptr is a pointer to an array of 10 integers
c.
ptr is an array of 10 integers
d.
ptr is an pointer to array
Posted under Data Structures and Algorithms
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. What does the following declaration mean? int (*ptr)[10];
Similar Questions
Discover Related MCQs
Q. Array passed as an argument to a function is interpreted as
View solution
Q. Which of the following correctly accesses the seventh element stored in arr, an array with 100 elements?
View solution
Q. The smallest element of an array’s index is called its
View solution
Q. If the address of A[1][1] and A[2][1] are 1000 and 1010 respectively and each element occupies 2 bytes then the array has been stored in _________ order.
View solution
Q. An adjacency matrix representation of a graph cannot contain information of :
View solution
Q. The extra key inserted at the end of the array is called a,
View solution
Q. The largest element of an array index is called its
View solution
Q. An index or subscript is a _________ integer value, which indicates the position of a particular element in the array.
View solution
Q. In which language/languages, the smallest subscript value is 1 and the largest subscript value is n.
View solution
Q. Data elements grouped in an array can be of any basic data type like:
View solution
Q. One of the data types which can be used for storing a list of elements is an________.
View solution
Q. A programmer can access a particular element of an array by using one or more_________.
View solution
Q. If more than one subscript is used, an array is known as a__________.
View solution
Q. What is the simplest form of an array?
View solution
Q. What is allocated to the array at compile-time, before the program is executed?
View solution
Q. The memory address of the first element of an array is contained in the _______.
View solution
Q. Each element in an array is associated with a unique subscript value, starting from__________.
View solution
Q. An array can be initialized in how many ways?
View solution
Q. Once an array is declared and initialized, various operations, such as,___________can be performed on the array.
View solution
Q. To perform an operation on an array, the elements of the array need to be accessed. The process of accessing each element of an array is known as__________.
View solution
Suggested Topics
Are you eager to expand your knowledge beyond Data Structures and Algorithms? 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!