Void Pointer and Typecasting in Pointer

code: