First page Back Continue Last page Graphics
cin
So, the final result is that the program moves on to the output statement and outputs the 12 and an empty name. (The name array has a '/0' in the first element, and still has two 'x' s left over from the initialization. This causes cout to terminate without printing anything.