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
Define Array of pointers.
Is Exception handling possible in c language?
Explain what is the benefit of using #define to declare a constant?
What is the difference between typedef struct and struct?
What do you understand by friend-functions? How are they used?
Is null a keyword in c?
What is the ANSI C Standard?
What is linear search?
What is const and volatile in c?
a sequence of bytes with one to one corrspondence to those in the external device a) sequential addressing b) address c) byte code d) none
How pointers are declared?
Differentiate between declaring a variable and defining a variable?
How does pointer work in c?
all c language question
Can a file other than a .h file be included with #include?