The following statement would allocate memory on? char *ptr = malloc(10);
Stack
Heap
Code Segment
Data Segment