Dear ALL,
HOW inside a function i could know the previous type of the pointer if i received it as Void pointer(void *)??????
Example:
if a pointer(lets say int *) is Casted to Void pointer (void *).. and this void pointer is then sent to that function....(Assuming i don't know previously the type)...
Thanx in advace for any help...
Mohammed Al-Tobji
Electrical Engineer
HOW inside a function i could know the previous type of the pointer if i received it as Void pointer(void *)??????
Example:
if a pointer(lets say int *) is Casted to Void pointer (void *).. and this void pointer is then sent to that function....(Assuming i don't know previously the type)...
Thanx in advace for any help...
Mohammed Al-Tobji
Electrical Engineer