0
If i mix C code in C++ source file,will the performance of the code get affected?
2 Answers
+ 2
C++ is still technically a superset of C. Much of C++'s standard library uses C standard library functions under the hood, and many other libraries written in C are used in C++. Since they are both compiled down to native machine code, there is rarely a case will there be any sort of performance loss, especially if they are being compiled by the same compiler.
0
My friend has asked me to stop learning C++ as it is complex and old school - "not used anymore" and stick to Java as it has more job opportunities ,is this true ? ..C++ is complex but has lot of power.