C program for Reverse String (Automatic)

#include <stdio.h>
#include <string.h>
int main() 
{
    char str[50];

    printf("Enter the string :  ");
    scanf("%s", str);

    strrev(str);

    printf("Reversed: %s", str);

}

Comments

Popular posts from this blog

Single Program Using All Automatic String Functions

C program for subtraction of two matrices (2D Arrays)

C program for Multiplication of Two matrices