That's using the code you posted of course (only changing function parameter to char *, and putting & in the scanf).Code:Enter sentence. The dog runs fast. Enter character to find in sentence. s Number of times s occurs: 2
That's using the code you posted of course (only changing function parameter to char *, and putting & in the scanf).Code:Enter sentence. The dog runs fast. Enter character to find in sentence. s Number of times s occurs: 2
Oh i know what i did, thanks a ton. I got it to work!