write a program to count number of spaces present in a string
Answers
Answered by
0
The output will be 0 spaces and 1 word. This is because scanf(%s, a) will just put "The" into a and will ignore the rest of the string. You can use scanf("[^\r\n]", a).
Subhadeepzehen:
shut up and write a program
Answered by
0
c++ program to count no. of spaces present in a sting
pls mark as brainliest
Similar questions