Such as for ( x = 0, x<strlen(hello), x++) If yes, then to show the last character from that array, you'll have to change something in that for: for(x=strlen(hello)-1, x>=0, x--); cout<<hello. That's my way of finding out elements. Or maybe I'm just a noob in pr...