Character array

not for row only just for single line input we have to do like this just check it once

Okay
Yes it is correct
No problem in this

so for only single line input if there is whitespace then we have to take like this way only we have to take array name , size in cin.get right

Yes
Just write
Cin.get(arr,100)