37.7k views
4 votes
What is the size of array "A" based on following declaration: int ∗A[100];

1 Answer

3 votes

Final answer:

The size of the array A is 100. The square with the same area as the array would have a side length of 10.

Step-by-step explanation:

The size of the array A based on the declaration int *A[100] is 100. This means that the array A can hold 100 elements of type int.

Expressed as an area in meters, the size of the array A is not applicable as it is a measure of the number of elements it can hold, not a physical size. However, if we consider a square with the same area as the array, the side length would be 10, as 10 * 10 = 100.

User Hzmy
by
7.9k points