![](https://sumantmath.wordpress.com/wp-content/uploads/2022/04/screenshot-from-2022-04-13-15-08-29.png?w=1022)
#include <stdio.h>
#include <string.h>
int main(void) {
char a[30] = "Sumant is learning new things";
printf("%s",a);
printf("\n");
char temp;
for(int i=0, j=strlen(a)-1; i <j;i++,j--)
{
temp =a[i];
a[i] = a[j];
a[j] = temp;
}
printf("%s",a);
return 0;
}