If I want to append a number to an array initialized to int, how can I do that?
int arr[10] = {0, 5, 3, 64}; arr[] += 5; //Is this it?, it\'s not working for me.
You can have a counter (freePosition), which will track the next free place in an array of size n.