Write a simple hello,
Write a simple hello,
program using the command-line compiler. Your program should display “Hello, World!” to the screen using the printf function.
Name the program file hello.c.
Compile the code using the following command:
g++ hello.c -o hello
or
gcc hello.c -o hello
Run the program:
./hello
Write a simple hello,
program using the command-line compiler. Your program should display “Hello, World!” to the screen using the printf function.
Name the program file hello.c.
Compile the code using the following command:
g++ hello.c -o hello
or
gcc hello.c -o hello
Run the program:
./hello
Is this the question you were looking for? If so, place your order here to get started!