Technical Interview Preparation

Get hired by top tech companies with our comprehensive interview preparation.

Get Started

Category: C

Basic C

Implement substring function in C

Write an efficient function to implement the substring function in C. The substring() function returns the substring of a given string containing n characters starting from the given index.

C

Reverse a C-String

In this quick article, we’ll explore how to reverse a C-String, which is a null-terminated (’\0’) block of a contiguous sequence of characters.

Do NOT follow this link or you will be banned from the site!