What will be the output of the following program #include<iostream.h> class BixTeam { int x, y; public BixTeam(int xx) { x = ++xx; } void Display() { cout<< --x << " "; } }; int main() { BixTeam objBT(45); objBT.Display(); int *p = (int*)&objBT; *p = 23; objBT.Display(); return 0; }

Comments and Answers (2)

Priya

Priya

does anyone know the correct answer

Rashmi

Rashmi

how did the answer came

Avatar

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

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