Populating an array with a for loop in c. C++: How to use a 'for' loop to multiply 2D arrays? 3.