MCQ IN COMPUTER SCIENCE & ENGINEERING

COMPUTER SCIENCE AND ENGINEERING

DATA STRUCTURES

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
The following array is created in a program:” DIREWOLVES = ["Nymeria", “Shaggy Dog", “Ghost", “Lady", “Grey Wind", “Summer"]What is the item stored in DIREWOLVES [2]?
A
“Shaggy Dog”
B
“Ghost”
C
Either A or B
D
None of the above
Explanation: 

Detailed explanation-1: -The memory address of the first element of an array is called first address, foundation address, or base address. Because the mathematical concept of a matrix can be represented as a two-dimensional grid, two-dimensional arrays are also sometimes called “matrices".

Detailed explanation-2: -An array is a way to represent multiplication and division using rows and columns. Rows represent the number of groups. Columns represent the number in each group or the size of each group.

Detailed explanation-3: -No. You can not change the C Basic rules of Zero Starting Index of an Array.

There is 1 question to complete.