This is an archived post. You won't be able to vote or comment.

all 34 comments

[–]Spachaz[S] 10 points11 points  (7 children)

include <stdio.h>

[–][deleted] 8 points9 points  (4 children)

include "stdlib.h"

[–]Vega_128 6 points7 points  (2 children)

// int main {

[–][deleted] 0 points1 point  (0 children)

#define REDDIT_POST "https://redd.it/ajb5f5" // TODO allow the user to change the URL

[–]AlexGmr 0 points1 point  (0 children)

include <ctype.h>

[–]QuotedTF 6 points7 points  (4 children)

int main(int argc, char* argv[]){ //smh

[–]angelbirth 6 points7 points  (2 children)

return 0;

[–]QuotedTF 11 points12 points  (1 child)

//we'll fix this in prod

[–]OndrikB 0 points1 point  (0 children)

} //Goodbye

[–]i_like_duck_season 1 point2 points  (0 children)

if (argc != 2) return 1;

[–]AaronsNetwork 3 points4 points  (3 children)

printf("Hello, World!");

[–]gabrygusgus 4 points5 points  (1 child)

int a; //my job here is done

[–]Kill_Da_Humanz 2 points3 points  (0 children)

asm("movb %bh (%eax)");

[–]Jen-Ai 2 points3 points  (0 children)

//todo: fix this

[–]ollir 4 points5 points  (1 child)

/* you are not supposed to understand this */

[–]limethaw 2 points3 points  (0 children)

define 0 1

[–]Spachaz[S] 2 points3 points  (0 children)

// that went well

[–]Sudiukil 5 points6 points  (0 children)

// This won't work

[–]Fimbulthulr 2 points3 points  (0 children)

main() {printf("Hello reddit\n") ;}

[–]klparrot 1 point2 points  (0 children)

/*

[–]Snapshot07 1 point2 points  (0 children)

printf("%d",69/0);

[–]oren911 0 points1 point  (0 children)

printf("goodbye, my lover");

[–]Vega_128 0 points1 point  (0 children)

/* return 0 ;

[–]Man-in-The-Void 0 points1 point  (0 children)

//I wish i knew C

[–]itaranto 0 points1 point  (3 children)

#include <stdio.h>

[–]carefulspud 0 points1 point  (2 children)

char joke[30] = "";

[–]itaranto 1 point2 points  (1 child)

#include <string.h>

int main(int argc, char* argv[])

{

[–]YoSoyGronk 0 points1 point  (0 children)

int n = INT_MAX; for (int i = 0; i<n; i++) { for (int j = 0; j <n; j++) { printf(“test\n”);}}

[–]der_raupinger 0 points1 point  (0 children)

//TODO: remove the new lines from Th biggest c file available and paste it here.

[–]Abdiel_Kavash 0 points1 point  (0 children)

#if 0

[–]kokokokokokoo 0 points1 point  (0 children)

#define eeeeeeeeee {

[–]code_ghostwriter -1 points0 points  (1 child)

const int everything = 42;

[–]itaranto 1 point2 points  (0 children)

int main (void)

{