I have this program that is suppose to give me the reversal of a message that i write, using pointers.
This is what i have, however, it seems there is a little problem with it because it gives me unknown symbols instead of the inverse words.
Can anyone tell me what´s wrong on it?
i added begin = c
but stills gives me an error..
printf("Enter a message : ");
while( (( c = getchar() ) != '\n') && (i < 49) )
begin = c;
begin = '\0';
printf("Reversal is : \t");