For example:
int *p = malloc(sizeof(int));
Is the above equivalent to the following?:
int *p = (int*)malloc(sizeof(int));
What does (int*), which looks like redundant, mean here?
For example:
int *p = malloc(sizeof(int));
Is the above equivalent to the following?:
int *p = (int*)malloc(sizeof(int));
What does (int*), which looks like redundant, mean here?