Asked by Drishana Pillay on Jun 25, 2024

verifed

Verified

In C, the array name and index of the desired element are combined by listing the index in ____ after the array name.

A) parentheses
B) square braces
C) curly braces
D) dashes

Square Braces

In programming, square braces [] are used for array indexing and defining array elements.

Array Name

Represents, in most contexts, the base address of the array in memory or a reference to the array's first element.

Index

A numerical representation of an element's position within a data structure, such as an array, or a method used to improve database search efficiency.

  • Attain expertise in the rules and meanings behind array declarations and manipulations within C language.
verifed

Verified Answer

AP
anoop patelJul 02, 2024
Final Answer :
B
Explanation :
In C, the index of the desired element is specified in square braces after the array name.