Which of the following is a correct file extension for a C++ source file?
- .cpp
- .html
- .java
- .py
C++ source files typically have the extension ".cpp", although other extensions like ".cc" or ".cxx" are also used sometimes.
Loading...
Related Quiz
- To achieve runtime polymorphism in C++, _______ are used.
- In what scenario might a program have a memory leak due to an exception being thrown?
- The minimum possible value of a variable of type short int is _______.
- What happens if an exception occurs in a destructor in C++?
- The enum class introduces _______ scope to prevent enumerators from polluting the namespace.