151

How my C programs may as well be written:

#include<stdio.h>
int main() {
printf("Segmentation fault\n");
return 0;
}

Comments
  • 7
    It gives the same output. Show to a teacher. U will get full marks...
  • 1
    Hahahaha love this!
  • 2
    lol.this is funny
  • 7
    The joke's good, but better remove the return(0) because a program returning a zero means it executed successfully. Rather, return 11 (Error Code for SIGSEGV).
  • 1
    @playmast3r I am ashamed to admit..but I have done this sin..
  • 1
    @akska same here. I have done such tricks to print patterns in practical exams....
Add Comment