Okay, I understand that it should have been < instead of <= (Was trying to get it to print the amount I desired.)
I think I just had a bit of a brain shortage.
I had forgotten that defining an array of size 3 means you get an array of positions
0,1,2
(I had set size to 2, thinking that I would get an array of 0,1,2)
So following that trend I setup my for loops incorrectly and ended up with seg faults.
Silly how the simple things elude you when you haven't programmed in awhile!
Thank you.
(Though still curious how a char array of size 2 can fill position 3 without seg fault)