Computer Science, asked by Subhadeepzehen, 11 months ago

write a program to count number of spaces present in a string​

Answers

Answered by Sujata2007
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
Sujata2007: lol
Sujata2007: ("[^\r\n]", a)
Subhadeepzehen: lol you are
Subhadeepzehen: lal
Answered by bhumika1947
0

c++ program to count no. of spaces present in a sting

pls mark as brainliest


Subhadeepzehen: bhosdike write a program for me
Sujata2007: madarchod
Sujata2007: sala
Sujata2007: bhosdiwala
Subhadeepzehen: gand me danda gusha dunga
Sujata2007: bc
Subhadeepzehen: vangchod
Subhadeepzehen: xxx
Similar questions