--- In c-prog@yahoogroups.com, dhana seelan <dhanaseela...@...> wrote: > > I have to add space for first printf > printf ("%c ", *str);
...and you should fix the errors, such as: 1. main() should be main(void) 2. char *str = "C Programming Language\0"; should be const char *str = "C Programming Language"; 3. getch(); This is not Standard C. 4. return; should be return 0;