Thursday, October 13, 2011

Dennis Ritchie is dead


#include <stdio.h>
#include <stdlib.h>

int main(void) {
  puts("RIP");
  return EXIT_SUCCESS;
}
I wonder if he will haunt the standards committee until they finalize the new C1x standard. I imagine if he does choose to haunt something, it's either that, or the wander the halls of compiler manufacturers that have still yet not implemented all C99 features.

2 comments:

  1. didn't you have to do return(value) in K&R c?

    ReplyDelete
  2. Don't know, but this is legal ANSI C.

    ReplyDelete