From: "Alexei A. Frounze" Newsgroups: comp.os.msdos.djgpp Subject: Re: which is more efficient? Date: Sun, 15 Apr 2001 21:35:21 -0400 Organization: Global Crossing Telecommunications Lines: 25 Sender: UNKNOWN AT 209-130-219-144 DOT nas1 DOT roc DOT gblx DOT net Message-ID: <9bdi6a$j4i$1@node17.cwnet.frontiernet.net> References: <6LrC6.86$3r6 DOT 56986 AT sapphire DOT mtt DOT net> NNTP-Posting-Host: 209-130-219-144.nas1.roc.gblx.net X-Trace: node17.cwnet.frontiernet.net 987384842 19602 209.130.219.144 (16 Apr 2001 01:34:02 GMT) X-Complaints-To: abuse AT frontiernet DOT net NNTP-Posting-Date: 16 Apr 2001 01:34:02 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com "Jason" wrote in message news: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" }; what is your criteria of efficiency? btw, the two don't do same thing, do they? Good Luck -- Alexei A. Frounze alexfru [AT] chat [DOT] ru http://alexfru.chat.ru http://members.xoom.com/alexfru/ http://welcome.to/pmode/