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
Social Sciences,
7 months ago
Social Sciences,
7 months ago
Hindi,
7 months ago
English,
1 year ago
Math,
1 year ago
Physics,
1 year ago
Social Sciences,
1 year ago