A blog posting problems and tutorials for blog visitors to practice and gain experience.
AD1
Saturday, 11 February 2017
Number of words in a string
Write a C function words(string) that accepts a string as input parameter and returns the number of words in this string as example words("my name is mohamed") will return 4
No comments:
Post a Comment