A recursive function which will receive a c-string (char*) and a…
Question Answered step-by-step A recursive function which will receive a c-string (char*) and a… A recursive function which will receive a c-string (char*) and a character to searchfor. The function cannot have any loops and should return the total number of occurrences ofthe character in the cstring. The function signature must be as below:int findOccurrences(char* cstr, char toFind); Computer Science Engineering & Technology C++ Programming CSCI-SHU MISC Share QuestionEmailCopy link Comments (0)


