1.

What is the output of the following program?
#include 
using namespace std;
class BoxVolume
{
public :
double L;
double B;
double H;
};
int main( )
{
BoxVolume Box;
double vol;
Box.H = 3;
Box.L = 4;
Box.B = 2.15;
vol = Box.H * Box.L * Box.B;
cout << "Volume of Box : " << vol < return 0;
}

A. 3
B. 4
C. 2.15
D. 25.8
E. None of these
Answer» E. None of these


Discussion

No Comment Found

Related MCQs