Why we used double and triple pointer in objective-C or C language?
- by Rajendra Bhole
Hi,
I confused when i want to take single pointer and when should i take double pointer?
In following structure what exactly did?
struct objc_class {
Class isa;
Class super_class;
const char *name;
long version;
long info;
long instance_size;
struct objc_ivar_list *ivars;
struct objc_method_list **methodLists;
struct objc_cache *cache;
struct objc_protocol_list *protocols;
};
Why we use the "**methodLists" double pointer.
Edited
int sqlite3_get_table(
sqlite3 *db,
const char zSql,
char **pazResult,
int *pnRow,
int *pnColumn,
char *pzErrmsg
);
In above scenario what will be meaning of triple pointer char **pazResult?