If you use realloc remember to increase the size of the array (which has some advantages in comparison with the linked lists you are going to learn in the future ) to it's double size.It is vital for...
Type: Posts; User: std10093
If you use realloc remember to increase the size of the array (which has some advantages in comparison with the linked lists you are going to learn in the future ) to it's double size.It is vital for...
The keyword new is not part of the C language :)
malloc is the function you need :) malloc - C++ Reference
Declare the array as a pointer and then malloc the space you need :)