Loop Array in c++?

Still not able to get any reference…