Why do we write (int *) before malloc?
int *ip = (int *)malloc(sizeof(int));
int *ip = (int *)malloc(sizeof(int));Why do we write (int *) before malloc?
int *ip = (int *)malloc(sizeof(int)); Correct Answer It is for the type-casting
মোঃ আরিফুল ইসলাম
Feb 20, 2025