learn-c-the-hard-way/ex1.c

15 lines
258 B
C

#include <stdio.h>
/* This is a comment. */
int main(int argc, char *argv[])
{
int distance = 100;
char word[] = "HELL";
// this is also a comment
printf("You are %d miles away.\n", distance);
printf("What the %s is happening!", word);
return 0;
}