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;
}

Слідкуй за CodeGalaxy

Мобільний додаток Beta

Get it on Google Play
Зворотній Зв’язок
Cosmo
Зареєструйся Зараз
або Підпишись на майбутні тести