Consider the following statements about relationship between arrays and pointers

Statement1: an array name by itself is an address or pointer, and pointers as well as arrays can be subscripted.

Statement 2: pointers are similar to arrays in which they can point to variable value they are holding

Statement 3: A pointer variable can take different addresses as a value, and in contrast, an array name is an address or pointer that is fixed.

Statement 4: An array name by itself is just a name and pointers just point to memory location somewhere.

Which of the above statement are true?

1
Statement 1 and statement 2
2
Statement 1 and statement 3
3
Statement 1 and statement 4
4
Statement 2 and statement 3

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation