Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

fizzbuzz

Name: übermench 2011-12-26 15:04

just wanted to post my awesome fizzbuzz implementation
#include <stdio.h>
#include <stdlib.h>

void main(int j) {
  printf(((char*[]){"%d\n","fizz\n","buzz\n","fizzbuzz\n"})[!(j%3)+!(j%5)*2], j);
  (&main + (&exit - &main)*(j/100))((j+1)*(1-j/100) );
}

Name: Anonymous 2011-12-28 13:28

>>56
A useful subset of GNU C is followed by gcc itself, clang and tcc.
ICC as well, and that's because most of the GNU extensions are sane and useful, your shitty broken preprocessor isn't, it's fucking harmful and retarded. So fuck off with your toy language you piece of shit moron.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List