The very first program in every language is “Hello World”. You can compile this program very easily.
// a single line comment
/*
* A multi line comment
*/
#include <stdio.h> // Header File
int main() // Marks the start of program
{
printf("Hello World!\n"); // Prints the "hello world" statement onto the
// serial output device such as monitor.
return 0;
}
Leave a Reply