Have any questions?
[email protected]
English
Vietnamese
French
Spanish
Korean
Japanese
Thai
Chinese
Indonesian
Login
Signup
Contact
Login
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
20 minutes
10 questions
Do test
Some questions from the same exam
What is the built in library function to compare two strings?
Choose the invalid identifier from the below
C++ does not supports the following
Choose the option not applicable for the constructor
What is the output of the following program?
#include
using namespace std;
main() {
const int a = 5;
a++;
cout<
}
Operators sizeof and ?:
Which is the storage specifier used to modify the member variable even though the class object is a constant object?
Which type of data file is analogous to an audio cassette tape?
Runtime polymorphism is done using
i) Exception handling technically provides multi branching
ii) Exception handling can be mimicked using ‘goto’ construct
Some other questions you may be interested in
How much allowance money does Freddie get from his mom every month on the teen show iCarly?
What is Carlys last name on the show iCarly?
What is the name of the doorman on the hit television show iCarly?
What does Carlys brother Spencer do as a hobby on the hit television show iCarly ?
On the popular show iCarly, what is the name of the student at Carlys school who is always sick?
What is the name of the boy who wants to destroy Carlys webshow on the hit television show iCarly?