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 build process in c?

651


Write a simple code fragment that will check if a number is positive or negative.

715


Write a C program in Fibonacci series.

643


What does != Mean in c?

594


What is the difference between exit() and _exit() function in c?

590






Are negative numbers true in c?

605


What is self-referential structure in c programming?

665


Is it fine to write void main () or main () in c?

558


Write a program in c to replace any vowel in a string with z?

701


What are the keywords in c?

651


Explain what is the use of a semicolon (;) at the end of every program statement?

741


Write a program to know whether the input number is an armstrong number.

677


What is the use of bitwise operator?

698


Where local variables are stored in c?

562


Why is a semicolon (;) put at the end of every program statement?

634