🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.c
Article #272333

int*(*p())[10];

#272333
From: Tmk
Date: Sat, 23 Feb 2008 17:27
7 lines
1032 bytes
Ta funkcja podobno zwraca wskaźnik na tablicę.
Ale po co jest napisane że jest to tablica o 10 elementach?

Czy ten zapis jest w praktyce identyczny?
int**(*p());

Czyli funkcja zwraca wskaźnik na tablicę (powiedzmy) ze wskaźnikami. 
Technical Details
Message-ID: <fppl2v$220o$1@news2.ipartners.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.rmf.pl!nf1.ipartners.pl!ipartners.pl!news2.ipartners.pl!not-for-mail

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.rmf.pl!nf1.ipartners.pl!ipartners.pl!news2.ipartners.pl!not-for-mail
From: "Tmk" <x@x.x>
Newsgroups: pl.comp.lang.c
Subject: int*(*p())[10];
Date: Sat, 23 Feb 2008 18:27:50 +0100
Organization: GTS Energis
Lines: 8
Message-ID: <fppl2v$220o$1@news2.ipartners.pl>
NNTP-Posting-Host: ip-89-174-124-208.multimo.gtsenergis.pl
Mime-Version: 1.0
X-Trace: news2.ipartners.pl 1203787679 67608 89.174.124.208 (23 Feb 2008 17:27:59 GMT)
X-Complaints-To: abuse@ipartners.pl
NNTP-Posting-Date: 23 Feb 2008 17:27:59 GMT
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MSMail-Priority: Normal
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit