and separates it with spaces, but if require a comma it definitly should give an error or not accept the inputs. Why does a space speration work when I require a comma separation?
Because stdio works according to its specification, not according to your fantasy.
In general, if you need delimiters, parse the string manually yourself, split to fields then convert
Обсуждают сегодня