Small correction
str1 = str; if (str1 !=NULL) printf("%c\b", str1); while (str1) { if (str1 == ' ') { printf("%c\b", str1); str1++; } else { str1++; } } Thanks Vamsi.J -----Original Message----- From: c-prog@yahoogroups.com [mailto:c-p...@yahoogroups.com] On Behalf Of dhana seelan Sent: Tuesday, December 15, 2009 12:52 PM To: c-prog@yahoogroups.com Subject: Re: [c-prog] urgent help please Let str is the string which stores "C Programming Language"; Str1 is also Character pointer here. str1 = str; while (str1) { if (str1 == ' ') { printf("%c\b", str1); str1++; } else { str1++; } } Thanks, Dhana On Tue, Dec 15, 2009 at 12:03 PM, Uday Oberio <uday_obe...@yahoo.co.in>wrote: > > > hello everyone > > In C programming i want to solve one programm of string that is > Enter String is C Programming Language > Output is C P L. > means output is first letter of every word.how it can be possible .. please > help me > thanking you > with regards > Uday > > > The INTERNET now has a personality. YOURS! See your Yahoo! Homepage. > http://in.yahoo.com/ > > [Non-text portions of this message have been removed] > > > -- with Regards, Dhanaseelan Dhayalan, [There is a better way of Doing it !!! Find it !!!] [Non-text portions of this message have been removed] ------------------------------------ To unsubscribe, send a blank message to <mailto:c-prog-unsubscr...@yahoogroups.com>.Yahoo! Groups Links http://groups.yahoo.com/group/c-prog/ Individual Email | Traditional http://groups.yahoo.com/group/c-prog/join (Yahoo! ID required) c-prog-dig...@yahoogroups.com c-prog-fullfeatu...@yahoogroups.com c-prog-unsubscr...@yahoogroups.com http://docs.yahoo.com/info/terms/ [Non-text portions of this message have been removed]