Skip to content

Commit

Permalink
int to void and getch() included
Browse files Browse the repository at this point in the history
  • Loading branch information
ambujraj authored Oct 16, 2017
1 parent 0df7e55 commit b329e68
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions hello_world/hello_world.c
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
// Include the contents of stdio.h, a library with standard input and output functions such as printf().
#include <stdio.h>
#include <conio.h>
// Execution of the program begins with the main() function.
int main()
void main()
{
// printf() displays the string inside quotation
printf("Hello, World!");
return 0;
getch();
}

0 comments on commit b329e68

Please sign in to comment.