Funny C++ Declarations

I was browsing through GNU website and I found a page full of fun. Here are some examples from that page…


1. struct dumb by[sizeof member];

2. struct by_lightning;

3. short circuit;

4. void if_removed();

5. unsigned check;

6. class dismissed : public annoyance

7. long trousers_with_holes;


For more fun head to source http://www.gnu.org/fun/jokes/declarations.html

Leave a Reply

Your email address will not be published. Required fields are marked *