Difference between revisions of "Hello, World! (C)"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
− | < | + | <code> |
#include <stdio.h> | #include <stdio.h> | ||
int main() { | int main() { | ||
Line 8: | Line 8: | ||
return 0; | return 0; | ||
} | } | ||
− | </ | + | </code> |
Revision as of 19:12, 30 April 2020
- include <stdio.h>
int main() {
// printf() displays the string inside quotation
printf("Hello, World!");
return 0;
}
See also
- Programming languages: C, glibc, musl, C++, gcc, Conan, make, Class warfare, Clang, Hello, World! (C),
puts
, array, Lisp
Advertising: