$ cat hello.c #include <stdio.h> int main(void) { printf("hello world\n"); return 0; } $ cat hello.cpp #include <iostream> using namespace std; int main(void) { cout << "hello world" << endl; return 0; } $ gcc -o hello_c hello.c $ g++ -o hello_cpp hello.cpp $ ll hello_* -rwxr-xr-x 1 root root 5880 Dec 5 14:13 hello_c -rwxr-xr-x 1 root root 7424 Dec 5 14:14 hello_cpp