arrays – Realloc fails without any particular reason
I am trying to solve a “suppose to be” a simple C question. Q: Receive “infinite” input by user using int pointer until EOF received using malloc and realloc. I defined an int pointer like this: int *inputBuffer = NULL; and initialized it using this method: /* #define BUFFER_SIZE 8 – already defined at top … Read more