if ($answer_counter == 1): ?>
endif; ?>
$ gcc -Wall -pedantic -o hw hw-no-return.c
hw-no-return.c:1:1: warning: C++ style comments are not allowed in ISO C90 [enabled by default]
// 'Hello World!' program
^
hw-no-return.c:1:1: warning: (this will be reported only once per input file) [enabled by default]
hw-no-return.c:5:1: warning: return type defaults to ‘int’ [-Wreturn-type]
main()
^
hw-no-return.c: In function ‘main’:
hw-no-return.c:9:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
$ cat hw-no-return.c
// 'Hello World!' program
#include <stdio.h>
main()
{
printf("Hello World!\n");
}
$ gcc -o hw hw-no-return.c
$ ./hw
Hello World!
$