#include <stdlib.h> int main() { int * x = malloc(100 * sizeof(int)); x = realloc(x, sizeof(int) * 200); return 0; }
malloc
new
void*
int*
realloc
Login in to like
Login in to comment
or Read more about C++ Quizzes
Login in to like
Login in to comment