Computer Science, asked by huzaifa9724, 11 months ago

Write A C Program To Reverse A Given Word Using Function.

Answers

Answered by deepakbhai1814
0

Answer:#include <stdio.h>

#include <string.h>

int main()

{

  char s[100];

  printf("Enter a string to reverse\n");

  gets(s);

  strrev(s);

  printf("Reverse of the string: %s\n", s);

  return 0;

}

Similar questions