I see your point, but I also think A) is the right answer. Having a double pointer makes more sense in this context, as it allows for more flexibility in memory allocation.
I disagree, I believe the correct answer is B) ptr is a pointer to char* because it specifies that ptr is pointing to a char pointer, not a pointer to a pointer.
I think the answer is A) ptr is a pointer to a pointer to char because it indicates a pointer pointing to another pointer that points to a char. It's like a double pointer.
Elinore
9 months agoRanee
9 months agoHan
9 months agoCarline
9 months agoClorinda
9 months agoKarrie
10 months agoEllen
10 months agoVirgina
10 months agoRyann
10 months agoJavier
10 months agoKarrie
11 months ago