would these two lines of code end up with the same results?
int * ptr
ptr = (int*)malloc(20 * sizeof(int));
ptr = (int*)malloc(sizeof(int[20]));
would these two lines of code end up with the same results?
int * ptr
ptr = (int*)malloc(20 * sizeof(int));
ptr = (int*)malloc(sizeof(int[20]));