Strings-maximum character frequency


please check the error.

Hi,

char ptr stores the address of first character in the string whereas int string str, str is the object of the class string. So, if you want to convert string to char you should use c_str();

my two test cases are not passing plz check the error https://ide.codingblocks.com/s/197730

how can we sort the characters of a string as i am unable to sort

this question is for string compression.

please resolve the problem

The link you have sent does not contain any code. Please send it again

Coding blocks ide is under maintanence. please send the link on another ide.

I have made changes: