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?
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.
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)
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 ..
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:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers