Menu
Coddy logo textTech

Repeated Character

Lesson 17 of 17 in Coddy's Functions in C course.

challenge icon

Challenge

Medium

Write a function to check for the most repeated character in a given string.

For example, if the input is "Coddy", the output should be "d".

Try it yourself

#include <stdio.h>

char most_repeated_char(char *str) {

}

All lessons in Functions in C