Computer Science, asked by cheyanne5683, 10 months ago

Write a c function to reverse a string stored in an array

Answers

Answered by angel881
1

Answer:

Reverse a string in C using strrev

  • #include <stdio.h>
  • #include <stdio.h>#include <string.h>
  • #include <stdio.h>#include <string.h>int main()
  • #include <stdio.h>#include <string.h>int main(){
  • #include <stdio.h>#include <string.h>int main(){char arr[100];
  • #include <stdio.h>#include <string.h>int main(){char arr[100];printf("Enter a string to reverse\n");
  • #include <stdio.h>#include <string.h>int main(){char arr[100];printf("Enter a string to reverse\n");gets(arr);
  • #include <stdio.h>#include <string.h>int main(){char arr[100];printf("Enter a string to reverse\n");gets(arr);strrev(arr);
Answered by Anonymous
3

Answer:

hope it helps you please mark me as brainliest

Attachments:
Similar questions
Math, 5 months ago