delorie.com/archives/browse.cgi | search |
From: | "Doug" <deleveld AT dds DOT nl> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: which is more efficient? |
Date: | 16 Apr 2001 14:49:27 GMT |
Organization: | none |
Lines: | 16 |
Message-ID: | <01c0c685$eedbb4e0$a6247d81@doug> |
References: | <6LrC6.86$3r6 DOT 56986 AT sapphire DOT mtt DOT net> |
NNTP-Posting-Host: | client36-166.oprit.rug.nl |
X-Trace: | info.service.rug.nl 987432567 9793 129.125.36.166 (16 Apr 2001 14:49:27 GMT) |
X-Complaints-To: | newsmaster AT rug DOT nl |
NNTP-Posting-Date: | 16 Apr 2001 14:49:27 GMT |
X-Newsreader: | Microsoft Internet News 4.70.1155 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
Jason <jstewart1 AT ns DOT sympatico DOT ca> schreef in artikel <6LrC6.86$3r6 DOT 56986 AT sapphire DOT mtt DOT net>... > Can anyone explain which of these array of strings is more efficient? and > Why? > > > char * cities Ptr [3] = { "Sydney" , "Turo" , "Halifax" }; > > or > > char * cities [3][2] = { "Sydney " , "Turo" , "Halifax" }; I don't get it. What does the 2 mean? DOug
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |