Code:#include <stdio.h> int main(){ char *str; char t; int i=0, j=0; printf("\n"); printf("Enter String (up to 50 chars): "); scanf("%s", *str[j]); for (j = 0; *str; ++j); i==j; j==0; while(i>=j){ t = *str[i]; *str[i] = *str[j]; *str[j] = t; i--; j++; } printf("%s\n",(str)); printf("\n"); }
what i'm i doing wrong...