What is wrong with the following code? int * x = (int *) malloc(100 * sizeof(int)); x = realloc(x, sizeof(int) * 200);
If realloc fails, then the original memory is lost
Nothing, realloc is guaranteed to succeed (by returning the original pointer)
Nothing, realloc frees the original memory passed to it
None of the above