hi guys

>    while( *strptr)
>        {
>         char foo=*strptr;
>         printf("%c", ++foo);
>         ++strptr;
>        }

isn't the "++" before the foo-var wrong? AFAIR this increments the value
before it is supplied tot the printf-function, isnt it? shouldnt be just
the unmodified foo supplied?

cu


-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to