| 2 | #include <stdlib.h> |
| 3 | |
| 4 | int main(){ |
| 5 | int n = 5; |
| 6 | int* ptr; |
| 7 | ptr = (int*) malloc(n * sizeof(int)); |
| 8 | ptr[0] = 3; |
| 9 | printf("%d", ptr[0]); |
| 10 | |
| 11 | ptr = (int*) realloc(ptr, 10 * sizeof(int)); |
| 12 | printf("%d", ptr[0]); |
| 13 | return 0; |
| 14 | } |
nothing calls this directly
no outgoing calls
no test coverage detected