Computer Science, asked by sravanimusuku4, 4 days ago

Write a Program to display reverse of entered string? eg Input abcd Output dcba


Answers

Answered by srivasanthigadipudi
1

Answer:

#include<stdio.h>

#include<string.h>

int main()

{

char str[10];

printf("enter a string to be reversed");

scanf("%s",str);

printf("After reversing the string %s",strrev(str));

return 0;

}

Similar questions