@Shaik
I mean one memory adress is copying in another pointer variable
where practically we need to do this?
is it like call by reference?
Yes kind of.. but like in call by ref, the pointer can manipulate the value by de-referencing but in this case we cannot change value of c by *voidPtr.
we can use, void pointer for implementing function overloading in C
64.3k questions
77.9k answers
244k comments
80.0k users