Created
July 23, 2020 07:52
-
-
Save qazi0/723e6c933161680d5892298926183d57 to your computer and use it in GitHub Desktop.
Hello world (commented)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Including the header file stdio.h | |
#include <stdio.h> | |
// Defining the main() function | |
int main() | |
{ // main() function opening brace | |
// To display some text on the screen, we use the printf() function from stdio.h file | |
printf(" Hello World! \n"); // The '\n' at the end means new line | |
// Return 0 to the operating system, which denotes success | |
return 0; | |
} // main() function opening brace | |
/* Note how each statement inside the braces has to end with a semicolon. */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment