Menu
Coddy logo textTech

Reverse a String

Lesson 1 of 3 in Coddy's Interview Coding Challenges - Pack VIII course.

challenge icon

Challenge

Easy

You are given a string, and your task is to write a function named reverseString that reverses the given string.

Try it yourself

#include <string.h>
#include <stdlib.h>

char* reverseString(char* s) {
    // Write code here
}

All lessons in Interview Coding Challenges - Pack VIII

1Challenges

Reverse a StringFind the Missing NumberLongest Substring