Menu
Coddy logo textTech

Remove the i-th

Lesson 7 of 20 in Coddy's Beginner Challenges - Practice Basic Concepts course.

challenge icon

Challenge

Easy

Write a function named removeAt that gets a string and an integer and returns the string without a letter in the index corresponding to the integer.

Try it yourself

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

char* removeAt(char* s, int i) {
    // Write code here
}

All lessons in Beginner Challenges - Practice Basic Concepts