If I write C++ code in UNIX, does my code convert to C and compile?
Not necessarily. The first C++ compiler, cfront, was actually a C++ to C code translator. The resultant C code would then be compiled and linked. However, the latest version of cfront was released nearly a decade ago, so it’a very far behind the Standards. Today, most modern C++ compilers on UNIX produce native assembly code directly.