Science, asked by jaydeepkamble07, 3 months ago

What is the dimension of the below C Array?
int arr[={1,3,5,7)​

Answers

Answered by nidhi38as
1

Answer:

See the number of [ ] square bracket pairs. Here there are 2 ary[10][5]. So the dimension is TWO 2.It is a Single Dimension Array. Only [] one pair of square brackets is present.

Explanation:

A) It is valid to add an integer number to an array pointer. Result can be anything.

B) It is valid to subtract an integer number from array pointer. Result can be anything.

C) Difference of pointers to two elements of an array gives the difference between their indexes.

D) All the above

Similar questions