Whether the next code will be compiled in c++:
#include <stdlib.h>
int main() {
    int * x = malloc(100 * sizeof(int));
    x = realloc(x, sizeof(int) * 200);
    return 0;
}

Follow CodeGalaxy

Mobile Beta

Get it on Google Play
Send Feedback
Cosmo
Sign Up Now
or Subscribe for future quizzes