void**
| cva (25) | |||
| what is the meaning of void**.... | |||
| Grey Wolf (585) | |||
| That is a pointer to a void pointer. A void pointer can't be dereferenced, but a void** can. I.e. void *x[100]; void **xp = x; With the above declaration of xp you should be able to do e.g. xp[17] to get at the 18th element of the array x. PS. Please post your questions once. | |||
| ropez (311) | |||
| It's a pointer to a pointer to void (unspecified type). It means that this variable (memory location) contains an address to a memory location, that contains an address to another memory location, and what is stored there is not specified. To be used for something useful, the pointer that it points to has to be casted to something.
| |||
| cva (25) | |||
| Thanks for ur guidence wolf and ropez......sorry wolf, technical error...:) | |||
This topic is archived - New replies not allowed.
