Hello World - C
C was the first language we worked with at University. Thinking back to those days of studying examples Ivor Horton's Beginning C, we take a walk down memory lane with this 'Hello World'.
What is C?
Let's start with the basics (at least for us - everyone has their first programming language), and for me that was C
!
C (pronounced /ˈsiː/ – like the letter c)[6] is a general-purpose computer programming language. It was created in the 1970s by Dennis Ritchie, and remains very widely used and influential. By design, C's features cleanly reflect the capabilities of the targeted CPUs. It has found lasting use in operating systems, device drivers and protocol stacks. C is commonly used on computer architectures that range from the largest supercomputers to the smallest microcontrollers and embedded systems.
How do we speak C?
#include <stdio.h>
int main void()
{
printf("Hello world!");
return 0;
}