Hi Udhay,

Here is the code :

int main() {
    char *str = "C Programming Language\0";

    printf ("%c", *str);
    while (*str) {
          while (*str++ == ' ') {
                if (*str != ' ')
                   printf ("%c ", *str);


          }

    }

    getch();
    return;
}


Thanks,
Dhana


On Tue, Dec 15, 2009 at 2:44 PM, Uday Oberio <uday_obe...@yahoo.co.in>wrote:

>
>
> hello please send me the excet code...for the same..
> this is not working...
> thanx
> with regards
> Uday
>
> --- On Tue, 15/12/09, dhana seelan 
> <dhanaseela...@gmail.com<dhanaseelan.d%40gmail.com>>
> wrote:
>
> From: dhana seelan <dhanaseela...@gmail.com <dhanaseelan.d%40gmail.com>>
>
> Subject: Re: [c-prog] urgent help please
> To: c-prog@yahoogroups.com <c-prog%40yahoogroups.com>
> Date: Tuesday, 15 December, 2009, 12:51 PM
>
>
> 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<uday_oberio%40yahoo.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 
> <c-prog-unsubscribe%40yahoogroups.com>>.Yahoo!
> Groups Links
>
>
> 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

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/c-prog/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/c-prog/join
    (Yahoo! ID required)

<*> To change settings via email:
    c-prog-dig...@yahoogroups.com 
    c-prog-fullfeatu...@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
    c-prog-unsubscr...@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

Reply via email to