C Programming - Pointers - Discussion

Discussion Forum : Pointers - True / False Questions (Q.No. 4)
4.
Are the three declarations char **apple, char *apple[], and char apple[][] same?
True
False
Answer: Option
Explanation:
No answer description is available. Let's discuss.
Discussion:
43 comments Page 4 of 5.

Prakash g said:   1 decade ago
Yes I agree with Vikash.

Pratik Patel said:   1 decade ago
Hey can you tell me whats diff bet array of pointer and pointer of array?

Please reply.

Minakshi Jain said:   1 decade ago
Yes, I agree with laxmi.

Laxmi said:   1 decade ago
2 is pointer array & 1,3 are same.

Vinay said:   1 decade ago
No

a[i][j]=*(*(a+i)+j)

Anu said:   1 decade ago
Yes I agree with Vikash.

For eg:

if a[i][j]=*(*(a+i)) then apple[][]=*(apple[])=*(*apple)) i think ..

Bincy said:   1 decade ago
I too agree with vikash.

Puneet said:   1 decade ago
Yes pooja is correct.

VIkash Kumar Choubey said:   1 decade ago
Pooja is right but, in my point of view **apple & *apple[] are same.

Debraj said:   1 decade ago
Pooja is correct.


Post your comments here:

Your comments will be displayed after verification.