Discussion :: Objects and Classes
-
What will be the output of the following program?
#include class BixTeam { int x, y; public: BixTeam(int xx) { x = ++xx; } void Display() { cout" "; } }; int main() { BixTeam objBT(45); objBT.Display(); int *p = (int*)&objBT; *p = 23; objBT.Display(); return 0; }
Answer : Option A
Explanation :
No answer description available for this question.
Be The First To Comment

Whatsapp
Facebook