Computer Science, asked by abhinavdeep058, 5 months ago

Program to reverse two string.
in
a language.
C language​

Answers

Answered by subgb98
1

Answer:

#include<stdio.h>

#include<string.h>

int main()

{

char str[100],revstr[100;

scanf("%s",str);

int j=0;

for(int i=strlen(str)-1;i>=0;i--)

{

revstr[j]=str[i];

j++;

}

printf("string after reversing   :  %s",revstr);

return 0;

}

Answered by sarabjitk379
0

Answer:

fishing kg ft f SD uh7uei yeah I'm t we u OK e fu up tg9j

Similar questions