Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

hi, which software companys will take,if d candidate's % is jst 55%?

2060


How can I determine whether a machines byte order is big-endian or little-endian?

1034


How do you view the path?

1096


How to throw some light on the b tree?

1048


How can a string be converted to a number?

996


Why n++ execute faster than n+1 ?

2906


Explain 'far' and 'near' pointers in c.

1105


What is the purpose of & in scanf?

1032


Differentiate call by value and call by reference?

933


What does the file stdio.h contain?

1023


Explain what is wrong with this program statement? Void = 10;

1215


How can I do graphics in c?

1000


what is ur strangth & weekness

2366


What is a keyword?

1140


what is the height of tree if leaf node is at level 3. please explain

2121