WHAT IS VOID POINTER IN C?
Void pointer is a generic pointer that can be used to point another variable of any data type.
Void pointer can store the address of variable belonging to any of the data type. So, void pointer is also called as general purpose pointer.
Note:int pointer can be used to point a variable of int data type and char pointer can be used to point a variable of char data type.
total answers (1)
start bookmarking useful questions and collections and save it into your own study-lists, login now to start creating your own collections.
Void pointer is a generic pointer that can be used to point another variable of any data type.
Void pointer can store the address of variable belonging to any of the data type. So, void pointer is also called as general purpose pointer.
Note:
need an explanation for this answer? contact us directly to get an explanation for this answerint pointer can be used to point a variable of int data type and char pointer can be used to point a variable of char data type.