Sha256: b408b55b5484504fa6841c764eac84ffc80c260a2d4ac84d614241a20fe35f27

Contents?: true

Size: 437 Bytes

Versions: 10

Compression:

Stored size: 437 Bytes

Contents

{{works with|gcc|4.0.1}}
#include <stdlib.h>
#include <stdio.h>

int main(void)
{
  printf("Hello world!\n");
  return EXIT_SUCCESS;
}
Or:
#include <stdlib.h>
#include <stdio.h>

int main(void)
{
  puts("Hello world!");
  return EXIT_SUCCESS;
}
Or, the eternal favourite :)

#include<stdio.h>

int main()
{
  printf("\nHello world!");
  return 0;
}

or better yet...

#include<stdio.h>

int main()
{
	return printf("\nHello World!");
}

Version data entries

10 entries across 7 versions & 1 rubygems

Version Path
zettacode-0.1.7 files.zettacode/hello_world.text/c.txt
zettacode-0.1.6 files.zettacode/hello_world.text/c.txt
zettacode-0.1.6 files.zettacode2/hello_world.text/c.txt
zettacode-0.1.5 files.zettacode/hello_world.text/c.txt
zettacode-0.1.5 files.zettacode2/hello_world.text/c.txt
zettacode-0.1.4 files.zettacode/hello_world.text/c.txt
zettacode-0.1.4 files.zettacode2/hello_world.text/c.txt
zettacode-0.1.3 files.zettacode/hello_world.text/c.txt
zettacode-0.1.2 files.zettacode/hello_world.text/c.txt
zettacode-0.1.1 zettacode.files/hello_world.text/c.txt