public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* A little bit of C fun...
@ 2008-10-22  4:45 John Carter
       [not found] ` <fa28b925 0810212203u51a1da18n13ae93aabde567a0@mail.gmail.com>
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: John Carter @ 2008-10-22  4:45 UTC (permalink / raw)
  To: gcc-help

I'm having a little fun going around hurting peoples brains...

Consider for a moment this program excerpt...
   a(&(b){c})

Is this valid C++?

Is this valid C?

What would you need to do to get this to compile?

What does it do?

Could it be tweaked into something useful? (apart from using it to
hurt people's brains with.)



John Carter                             Phone : (64)(3) 358 6639
Tait Electronics                        Fax   : (64)(3) 359 4632
PO Box 1645 Christchurch                Email : john.carter@tait.co.nz
New Zealand

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2008-11-29 20:52 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-10-22  4:45 A little bit of C fun John Carter
     [not found] ` <fa28b925 0810212203u51a1da18n13ae93aabde567a0@mail.gmail.com>
     [not found]   ` <alpine.DEB.1.00.081023 0830390.23033@parore.tait.co.nz>
2008-10-22  5:04 ` me22
2008-10-22 19:38   ` John Carter
2008-10-22 20:13     ` Austin, Alex
2008-10-22 20:16       ` Austin, Alex
2008-10-22 22:03     ` me22
2008-10-22 22:35       ` John Carter
2008-10-22 23:12         ` John Carter
2008-11-29 20:52     ` code snippet sagrav
2008-11-29 23:53       ` Sven Eschenberg
     [not found] ` <"fa28b92 5  0810212203u51a1da18n13ae93aabde567a0"@mail.gmail.com>
     [not found]   ` <"alpine.DEB.1.00.0810  23  0830390.23033"@parore.tait.co.nz>
     [not found]   ` <"alpine.DEB.1.00.0810 2  30830390.23033"@parore.tait.co.nz>
     [not found]     ` <3DC6D022E7CC5D41A9CA465499463C9E718C1BFE F8@mtk-sms-exch01.digi.com>
     [not found]       ` <3DC6D022E7CC5D41A9CA465499463C9E718C1BFEF8@mtk-sms-exch01.digi .com>
2008-10-22 22:00         ` A little bit of C fun John Carter
     [not found]   ` <alpine.DEB.1.00.08102 30830390.23033@parore.tait.co.nz>
     [not found]     ` <"3DC6D022E7CC5D41A9C  A465499463C9E718C1BFEF8"@mtk-sms-exch01.digi.com>
     [not found]       ` <3DC6D022E7CC5D41A9CA46549 9463C9E718C1BFEFB@mtk-sms-exch01.digi.com>
     [not found]         ` <3DC6D022E7CC5D41A9CA465499463C9E718C1BFEFB@mtk-sms-exch01.digi .com>
2008-10-22 22:04           ` John Carter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).