Hi,
Suppose I have this struct:
[begin code]
typedef struct {
int a;
int b;
struct c; // c is another structure defined somewhere
} mystruct;
mystruct **s; // double pointer declaration
[end code]
I am wondering the reason to use double pointer of s is because of the existence of "struct c", right? otherwise I can use single pointer, correct?
Suppose I have this struct:
[begin code]
typedef struct {
int a;
int b;
struct c; // c is another structure defined somewhere
} mystruct;
mystruct **s; // double pointer declaration
[end code]
I am wondering the reason to use double pointer of s is because of the existence of "struct c", right? otherwise I can use single pointer, correct?