Write a program to reverse a string
Write a program to reverse a string
how to reverse a string in c++ | write a c program to reverse a string without using string functions | reverse words in a string in c | write a program to reverse a string using pointer codechef | reverse a string in c using for loop | c program to reverse a string using pointers
how to reverse a string in c++ | write a c program to reverse a string without using string functions | reverse words in a string in c | write a program to reverse a string using pointer codechef | reverse a string in c using for loop | c program to reverse a string using pointers
how to reverse a string in c++ | write a c program to reverse a string without using string functions | reverse words in a string in c | write a program to reverse a string using pointer codechef | reverse a string in c using for loop | c program to reverse a string using pointers
how to reverse a string in c++ | write a c program to reverse a string without using string functions | reverse words in a string in c | write a program to reverse a string using pointer codechef | reverse a string in c using for loop | c program to reverse a string using pointers
how to reverse a string in c++ | write a c program to reverse a string without using string functions | reverse words in a string in c | write a program to reverse a string using pointer codechef | reverse a string in c using for loop | c program to reverse a string using pointers
how to reverse a string in c++ | write a c program to reverse a string without using string functions | reverse words in a string in c | write a program to reverse a string using pointer codechef | reverse a string in c using for loop | c program to reverse a string using pointers how to reverse a string in c++ write a c program to reverse a string without using string functions reverse words in a string in c write a program to reverse a string using pointer codechef reverse a string in c using for loop c program to reverse a string using pointers
Share
#include <stdio.h>
#include <string.h>
int main()
{
char s[200];
printf(“Enter a string to reverse\n”);
gets(s);
strrev(s);
printf(“Reverse of the string: %s\n”, s);
return 0;
}