?
Why do we write (int *) before malloc?
Why do we write (int *) before malloc?
int *ip = (int *)malloc(sizeof(int));
int *ip = (int *)malloc(sizeof(int));
Join the Discussion
Login to post a comment or share your explanation.
Login