• Home
  • What is the output of the following program? #include using namespace std; main() { const int a = 5; a++; cout }
Question 1:
What is the output of the following program?
#include
using namespace std;
main() {
const int a = 5;
a++;
cout< }
A. 5
B. 6
C. Runtime error
D. Compile error

These questions are from this test. Would you like to take a practice test?

C++ Quiz 4 | Englishfreetest.com