Should it be a valid code or not?Code:int points_count = 1; int *new_x = NULL; new_x = realloc(new_x, points_count * sizeof (int));
Should it be a valid code or not?Code:int points_count = 1; int *new_x = NULL; new_x = realloc(new_x, points_count * sizeof (int));
The only good is knowledge and the only evil is ignorance.
~Socrates