Answers for "c) write a function that finds the count of a given character in a c++ string."

C++
7

count a character in a string c++

count(str.begin(), str.end(), 'e')
Posted by: Guest on June-05-2020

Code answers related to "c) write a function that finds the count of a given character in a c++ string."

Browse Popular Code Answers by Language