Skip to content

Instantly share code, notes, and snippets.

@khoa-io
Last active September 26, 2022 06:53
Show Gist options
  • Save khoa-io/283a94e45b57c7f47c103ac0bb50637f to your computer and use it in GitHub Desktop.
Save khoa-io/283a94e45b57c7f47c103ac0bb50637f to your computer and use it in GitHub Desktop.
Compiling hello_multithreading_world.c
$ cc -Wall -Wextra -Werror hello_multithreading_world.c -o hello_multithreading_world
$ ./hello_multithreading_world
Hello Multithreading World
$ clang -Wall -Wextra -Werror hello_multithreading_world.c -o hello_multithreading_world
$ ./hello_multithreading_world
Hello Multithreading World
$ gcc -Wall -Wextra -Werror hello_multithreading_world.c -o hello_multithreading_world
$ ./hello_multithreading_world
Hello Multithreading World
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment