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...

program to find which character is occured more times in a
string and how many times it has occured? for example in
the sentence "i love india" the output should be i & 3.

Answer Posted / vignesh1988i

add k++; in line 32.... sorry for mistake.



thank you

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is meant by errors and debugging?

1058


Explain what does the characters 'r' and 'w' mean when writing programs that will make use of files?

1204


Is boolean a datatype in c?

1014


What is %g in c?

1023


Write a function expand(s1,s2) that expands shorthand notations like a-z in the string s1 into the equivalent complete list abc...xyz in s2 . Allow for letters of either case and digits, and be prepared to handle cases like a-b-c and a-z0-9 and -a-z. z-a:zyx......ba -1-6-:-123456- 1-9-1:123456789987654321 a-R-L:a-R...L a-b-c:abbc

5559


in multiple branching construct "default" case is a) optional b) compulsarily c) it is not include in this construct d) none of the above

1017


What is data structure in c programming?

1032


What are the advantages of using linked list for tree construction?

1026


What are categories used for in c?

1037


List the difference between a "copy constructor" and a "assignment operator"?

960


What are the application of void data type in c?

1138


What are register variables in c?

979


What is the difference between fread buffer() and fwrite buffer()?

1110


Why does this code crash?

1030


Write a program, where i have a grid with many cells, how many paths are possible from one point to other desired points.

1188