+ 1

Can i use "scanf" function to input many data in the same line?

When i press enter, i will always go to the new line. I want to input many data in the same line. What should i do???

10th Oct 2017, 3:49 PM
kongkong
4 Answers
+ 3
The term you may wish to look into is "delimiters".
10th Oct 2017, 4:12 PM
Kirk Schafer
Kirk Schafer - avatar
+ 3
no this not possible if u use space then compiler take different element with mention format specifier recommend use dynamic array then u will choose how may input u want to give
10th Oct 2017, 4:39 PM
Scooby
Scooby - avatar