Skip to content

Using print function(C) to print "Hello,World!"

Notifications You must be signed in to change notification settings

M13G/Hello-World

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Notes for Hello World


To compile a program in C:

gcc filename -o binary_name

Hello world example:

#include <stdio.h>
int main()
{
   // printf() displays the string inside quotation
   printf("Hello, World!");
   return 0;
}

To run hello world:

./hello-world

About

Using print function(C) to print "Hello,World!"

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages