Question
1.
#include
2.
using namespace std;
3.
#include
4.
#include
5.
void Funct()
6.
{
7.
cout
What is the output of this program?
1.
#include
2.
using namespace std;
3.
#include
4.
#include
5.
void Funct()
6.
{
7.
cout
Answer: Option B
Was this answer helpful ?
As there is no integer in this program, We are printing Funct() was called by terminate().
Output:
$ g++ uce4.cpp
$ a.out
Funct() was called by terminate().
Was this answer helpful ?
Submit Solution