Home > database >  C language worry why type apple is wrong
C language worry why type apple is wrong

Time:10-10

#include

#include

Void fun (char [] a)

{

int i,j;

I=strlen (a);

For (j=I - 1; J>=0; J -)

Printf (" % c ", a [j]);

}

Int main ()

{

Char a, [50].

Printf (" please enter the string: \ n ");

Gets (a);

Fun (a);
return 0;
}
  • Related