Actually i want the user to enter a line of string having multiple words in it for example \"My name is ABC\". What is the C/C++ code for this purp
Try using something like this snippet:
string testString; getline(cin, testString);