Hello,
Friends,
I am new to Programming.
I write program on dev c++.
#include <iostream>
using namespace std;
int main()
{
char name;
cout<<"Enter your name";
cin>>name;
cout<<"Name"<<name;
return 0;
}
Now when i execute this program and give input Qaisar it displays Qaisar
And if i input full name Muhammad Qaisar Khan it displays Muhammad only so this is my question that whats the problem please help me in this regard.
I will be very thankful to you.
Thanks.
Qaisar Khan.