| delorie.com/archives/browse.cgi | search |
| From: | Dave Tweed <dtweed AT acm DOT org> |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Re: gdb problem or just silly me - please help |
| Date: | Wed, 03 May 2000 12:55:09 -0400 |
| Organization: | almost none |
| Lines: | 11 |
| Message-ID: | <391059ED.E4A74951@acm.org> |
| References: | <KDINAGPDJPIJCAAA AT shared1-mail DOT whowhere DOT com> |
| Mime-Version: | 1.0 |
| X-Trace: | x++QnOIUWhsKR7L6Eminy3mY/EK3Ns3yhDJL9Ede/8U= |
| X-Complaints-To: | abuse AT rcn DOT com |
| NNTP-Posting-Date: | 3 May 2000 12:55:17 GMT |
| X-Accept-Language: | en |
| X-Mailer: | Mozilla 4.7 [en]C-CCK-MCD NSCPCD47 (Win95; I) |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
| Reply-To: | djgpp AT delorie DOT com |
"nimrod a. abing" wrote:
> Now in most C books, they say `char **string_array' is equivalent to
> `char *string_array[]'.
Only when passed as a parameter to a function, because arrays are always
passed by reference. For example, you'll find both
int main (int argc, char *argv[]) { ... }
and
int main (int argc, char **argv) { ... }
-- Dave
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |