What will be the output of the following program #include<iostream.h> class BixBase { public float x; }; class BixDerived : public BixBase { public: char ch; void Process() { ch = (int)((x=12.0)/3.0); } void Display() { cout<< (int)ch; } }; int main() { class BixDerived *objDev = new BixDerived; objDev->Process(); objDev->Display(); return 0; }

Comments and Answers (2)

Andrew

Andrew

please anyone explain this answer

Zoe

Zoe

please explain answer

Avatar

{{SampleComment.userName || "Your Name"}} ~ {{SampleComment.userCity}}

{{SampleComment.commentValue || "Your Answer or Comment goes here...."}}