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

Is there any demerits of using pointer?

621


How is actual parameter different from the formal parameter?

585


Why C language is a procedural language?

614


When can you use a pointer with a function?

559


Read the following data in two different files File A: aaaaaaaadddddddd bbbbbbbbeeeeeeee ccccccccffffffff File B: 11111111 22222222 33333333 By using the above files print the following output or write it in the Other file as follows aaaaaaaa11111111dddddddd bbbbbbbb22222222eeeeeeee cccccccc33333333ffffffffffff

2236






When should the register modifier be used? Does it really help?

604


What is the scope of static variables in c language?

624


Tell us the use of fflush() function in c language?

631


Difference between constant pointer and pointer to a constant.

607


What is typedf?

664


What do you understand by normalization of pointers?

619


Why is sprintf unsafe?

613


What is pointer to pointer in c?

630


Tell me can the size of an array be declared at runtime?

592


I have a varargs function which accepts a float parameter?

573