I\'d like to understand why the program allows me to input 3 integers when I have defined SIZE as 2. And when it returns the array it only returns two numbers NOT the three I ha
Your loops should be
for (count=0;count
Array indexing is 0 based in C.
0
Since you have a whitespace chatacter (\n) in scanf() call, it waits for you input a non-whitespace character to complete each call. Remove the \n:
\n
scanf()