My program takes the firstName and lastName c_string null terminated arrays and combines them into the fullName array. The fullName array is sent to the displayInfo function where it will be outputted to the screen.
When it compiles, the 20 iterations of the for loop print out the first and last names but leaves a bunch of empty space after which i am assuming to be the unused array elements.
How do I get the for loop to stop, after reading the last character of the last name.