1. Write the function int countchtr(char string[ ], int ch);
which returns the number of times the character ch appears
in the string.
Example, the call countchtr(“She lives in NEWYORK”, ‘e’)
would return 3.
Answer Posted / vadivelt
Hi all,
In my post, Answer #3 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
hi, which software companys will take,if d candidate's % is jst 55%?
How can I determine whether a machines byte order is big-endian or little-endian?
How do you view the path?
How to throw some light on the b tree?
How can a string be converted to a number?
Why n++ execute faster than n+1 ?
Explain 'far' and 'near' pointers in c.
What is the purpose of & in scanf?
Differentiate call by value and call by reference?
What does the file stdio.h contain?
Explain what is wrong with this program statement? Void = 10;
How can I do graphics in c?
what is ur strangth & weekness
What is a keyword?
what is the height of tree if leaf node is at level 3. please explain