Log in

View Full Version : Just wanted to share this...Poem about C


b_mallerd
12-02-2007, 00:08
May your signals all trap
May your references be bounded
All memory aligned
Floats to ints rounded

Remember ...

Non-zero is true
++ adds one
Arrays start with zero
and, NULL is for none

For octal, use zero
0x means hex
= will set
== means test

use -> for a pointer
a dot if its not
? : is confusing
use them a lot

a.out is your program
there's no U in foobar
and, char (*(*x())[])() is
a function returning a pointer
to an array of pointers to
functions returning char

Taken from: http://gdl.msu.edu/~vanhoose/humor/0844.html

Hope this gives all you programmers out there a chuckle.

shtylman
12-02-2007, 00:15
you have just made my day

thank you