Please help me to understand
In this Video,what is the (void * ) doing ,Is * the pointer in this case or anything else?
Yes it is a pointer. A void pointer is a pointer that has no associated data type with it. A void pointer can hold address of any type and can be typcasted to any type.
1 Like
But why can’t we use normal typecasting like (void) ?Why pointer is required in the typecasting…Is there any specific reason for this?
As you were storing an address, an address can only be stored in a pointer variable. This is why be take a pointer variable.
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.