adplus-dvertising
frame-decoration

Question

Below is an example of -
int RollNum[30][4];

a.

3-D Array

b.

4-D Array

c.

1-D Array

d.

2-D Array

Answer: (d).2-D Array

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Below is an example of - int RollNum[30][4];

Similar Questions

Discover Related MCQs

Q. Pointer is special kind of variable which is used to stored __________ of the variable.

Q. Pointer variable is declared using preceding _________ sign.

Q. Address stored in the pointer variable is of type __________.

Q. Consider the 32 bit compiler. We need to store address of integer variable to integer pointer. What will be the size of integer pointer ?

Q. In order to fetch the address of the variable we write preceding _________ sign before variable name.

Q. A pointer is

Q. "&" is called as ___________ in pointer concept.

Q. "*" is called as ___________.

Q. What is (void*)0?

Q. In which header file is the NULL macro defined?

Q. How many bytes are occupied by near, far and huge pointers (DOS)?

Q. If a variable is a pointer to a structure, then which of the following operator is used to access data members of the structure through the pointer variable?

Q. What would be the equivalent pointer expression for referring the array element a[i][j][k][l]

Q. A pointer is

Q. The operator used to get value at address stored in a pointer variable is

Q. Which of the following statements correctly declare a function that receives a pointer to pointer to a pointer to a float and returns a pointer to a pointer to a pointer to a pointer to a float?

Q. Can you combine the following two statements into one?
char *p;
p = (char*) malloc(100);

Q. Which of the following statements correct about k used in the below statement?char ****k;

Q. In C, if you pass an array as an argument to a function, what actually gets passed?

Q. Which of the following statements mentioning the name of the array begins DOES NOT yield the base address?

1: When array name is used with the sizeof operator.
2: When array name is operand of the & operator.
3: When array name is passed to scanf() function.
4: When array name is passed to printf() function.