Top "Pointer-to-pointer" questions

Pointers are variables themselves, so a pointer that points to another pointer is a pointer to pointer.

What does ** do in C language?

I'm new to C with a good background in java and I'm trying to understand pointers and arrays. I know …

arrays c pointers memory pointer-to-pointer
Dynamic memory allocation for pointer arrays

I'm am trying to write a program that reads in a series of strings from a text file and stores …

c arrays dynamic-memory-allocation pointer-to-pointer
Compiler error (lvalue required as left operand of assignment) when using malloc

I got 2 structs,a pointer to each struct and a void **stack which points to the pointers of the structs. …

c pointers struct malloc pointer-to-pointer
How can a double pointer be used for a two dimensional matrix?

I am trying my hand at C by implementing Conway's game of Life. I am trying to dynamically build two …

c pointer-to-pointer
malloc and pointers to pointers

I'm trying to understand when I need to use malloc when using multiple levels of pointers. For example, #include <…

c pointers malloc pointer-to-pointer