int main()
{
char a;
cout<<"Enter a text: ";
while(a!='\n')
{
cin.get(a);
cout<
}
On executing this code in C++ compiler, the output is :
Enter a text: abcdef
abcdef
My question is "When we give cout<
Hope you understood my question...
Thanks in advance.