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
Secondary Incoming wage types is?
A is the key for which object type?
What is the T Code for Salary Administration?
What is the T Code for creating functions and operations in Payroll?
Which feature determines the administrator group?
What is the main switch for integration of OM with PA?