#include<stdio.h>#include<string.h>#include<stdlib.h>void reverse(char s[]){ int len; len=strlen(s); while(s[len-1]!='\0'){ for(int j=len-1;j<=0;j--){ printf("%c",s[j]); } }}main(){ char a[]={'a','b','c','d'}; reverse(a);}