cin.get() in while loop not getting clear idea
<p>in loop there is a cout statement which prints the character which provide from keyboard but inside loop it is not showing it even keep on typing keys from keyboard but when we press enter it shows all of them all together 
why there is cin.get() outside loop and how does the cin.get() inside the loop behave actually</p>

<p>kindly reply
thankx</p>
