0

How to store multiple string in single variable

C code

7th May 2020, 3:42 AM
VS Vinoth
VS Vinoth - avatar
2 ответов
+ 1
We use getline to take space separated string in a single line string s; getline(cin,s);
7th May 2020, 3:52 AM
Pulkit Kamboj
Pulkit Kamboj - avatar
+ 1
Do you want to read a sentence with multiple words? or do you want to have one variable that can be used for storing multiple string?
7th May 2020, 6:19 AM
Ipang