WBJECA 2025 — Computer PYQ
WBJECA | Computer | 2025Which of the following statements about arrays in C is correct?
Choose the correct answer:
- A.
Array indices in C start from 1.
- B.
The size of an array must always be specified at runtime.
- C.
An array name in C represents the address of the first element.
(Correct Answer) - D.
Arrays in C can store elements of different data types.
An array name in C represents the address of the first element.
Explanation
In C programming, an array is a collection of elements of the same data type stored in contiguous memory locations. Here is the technical breakdown:
Indexing: C uses zero-based indexing. For an array A of size n, the index i ranges from 0 to n−1:
0≤i≤n−1
Memory Representation: When an array is declared, its name acts as a constant pointer to the memory location of the very first element. If A is the name of the array, then:
A=&A[0]
This explains why statement (C) is true; the array identifier holds the base address.

