Write a C program to reverse a given string without using any built-in functions.
Write a C program to reverse a given string without using any built-in functions.
738
21-Apr-2023
Updated on 24-Apr-2023
Aryan Kumar
24-Apr-2023Krishnapriya Rajeev
21-Apr-2023In C programming, a string is a one-dimensional array of characters. As a result, one can reverse a string using a for loop that decrements the variable over which the loop is iterated.
An example of such a code is: