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
John Stamos appeared in an episode of Friends.
The song A Day in the Life, from the Beatles Sgt. Peppers album, contains a Paul McCartney death clue that supposedly reveals what?
Who took Paul McCartneys place in the Beatles, according to a death clue in the song Sgt. Peppers Lonely Hearts Club Band on the album of the same name?
The Paul is dead myth holds that Paul McCartney died on November 9, 1966. Which of the following is not a clue suggesting that date?
Richard Kiel, who is 72 tall, remains best known for which role in the James Bond movies?
Sean Connery was placed third in the tall mans division of 1953 Mr. Universe Bodybuilding Contest.