write the function int countchtr(char string[],int
ch);which returns the number of timesthe character ch
appears in the string. for example the call countchtr("she
lives in Newyork",'e') would return 3.
Answer Posted / vadivelt
Hi all,
In my post, Answer #5 pls change the statement in if
condition from "ch <= 96" to "ch <= 90"
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Explain the difference between exit() and _exit() function?
Explain what are run-time errors?
What is the purpose of 'register' keyword in c language?
Explain what is the benefit of using enum to declare a constant?
What is the difference between the = symbol and == symbol?
What does void main () mean?
What is clrscr in c?
Tell me is null always defined as 0(zero)?
what is the difference between north western polytechnique university and your applied colleges?? please give ur answers for this. :)
What is data type long in c?
Is there a built-in function in C that can be used for sorting data?
Hai,I have done with my bachelor of commerce and planing to ms,please suggest me how to convince vo for shifting from commerce to computers. Visa on 8 DEC 2014 Npu university
Explain how can I read and write comma-delimited text?
What does the c in ctime mean?
What are the advantages and disadvantages of c language?