Yes but, technically c and c++ is faster If you compile the code using -02 or -03 flag For C code: ``` gcc -O2 your_file.c -o output_file gcc -O3 your_file.c -o output_file ``` For C++ code: ``` g++ -O2 your_file.cpp -o output_file g++ -O3 your_file.cpp -o output_file ```
@TheVideo0015 күн бұрын
I think c and c++ should be fast
@TheAvinashCode5 күн бұрын
Yes they are if you compile them using -02 or -03 flag
@TheAvinashCode5 күн бұрын
For C code: gcc -O2 your_file.c -o output_file gcc -O3 your_file.c -o output_file For C++ code: g++ -O2 your_file.cpp -o output_file g++ -O3 your_file.cpp -o output_file