It includes the header file stdio.h into the source code. This
file is required for input and output to the program. Therefore, if the
printf statement is used to output text/data to the screen it is
required.
Source code is the actual C program which is typed into the file. This is then co
mpiled into machine code which can be executed by the computer.
No - a comment is not a program statement, so does not require to be terminated by a
semi-colon.
The text to be printed must be within double quotes.
printf("Hello World\n");
Keywords in C must be lowercase PRINTF must be written as printf
The \n causes the a new line. It is required at the end of Hello WOrld to ensure the
cursor returns to the next line.
The \n (newline) is text to be printed and must be within the double quotes.