FUNDAMENTALS OF COMPUTER

COMPUTER PROGRAMMING FUNDAMENTALS

WHAT IS PROGRAMMING

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
the value used to specify which element in an array
A
Index
B
Item
C
Value
D
None of the above
Explanation: 

Detailed explanation-1: -The index indicates the position of the element within the array (starting from 1) and is either a number or a field containing a number.

Detailed explanation-2: -Assigning values to associative array variable elements can be done by using the assignment statement in which the array is named, the index value is specified and the corresponding element value is assigned.

Detailed explanation-3: -Arrays in C act to store related data under a single variable name with an index, also known as a subscript. It is easiest to think of an array as simply a list or ordered grouping for variables of the same type.

Detailed explanation-4: -The indexes of an array range from 0 to one less than the total number of elements in the array.

There is 1 question to complete.