> char s[8];

is an array of 8 chars

A char* is a pointer to a char, which might contain the address of s[0].
It is often important to remember that C doesn't actually have a string
type like Pascal or BASIC etc does. You are essentially constructing one
out of the low level pieces C provides (and the null terminator
convention).

Cheers,
Jim Cooper

_____________________________________________

Jim Cooper      [EMAIL PROTECTED]
Tabdee Ltd      http://www.tabdee.ltd.uk

TurboSync - Writing Palm conduits with Delphi
_____________________________________________

Learn how to program Palms in Pascal with the
Pocket Studio Early Experience Program!

     http://www.middlecloud.com

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to