3 ms·
It's compiled with a C++ compiler ('_Z2f2i' in the disassembly) and the function name is 'f.cpp', so I suppose it's in the 'C is a subset of C++' part of C.
by anitil 4y ago
It's compiled with a C++ compiler ('_Z2f2i' in the disassembly) and the function name is 'f.cpp', so I suppose it's in the 'C is a subset of C++' part of C.
- khoobid_shoma 4y agoStill that's C code. Code is an input to the compiler. So, I would not call the code differently just because later a C++ comiler is used. In C++ code, we expect C++ specific features be used.