Section 1.1 Getting Started¶
Hello World¶
Question¶
The only way to learn a new programming language is by writing programs in it. The first program to write is the same for all languages: Print the words
Solution¶
/* First Program in K&R. print hello,world */
#include <stdio.h>
int main() {
printf("hello, world\n");
}
Extras¶
What really happens when you run hello world program?
Peek into the assembly code and jmps that happen with hello world as demonstrated in this article https://thecoder08.github.io/hello-world.html