Explicit typecasting of char pointer

Why it needs to casting only in (void *) .

because void * can further point to any int *, char * etc

hey @Rajesh-Verma-1281590838674498, if you query is answered, Please mark this doubt as resolved.