Home » C++ Programming » Objects and Classes

Which of the following statement is correct about the program given below? #include class CuriousTabData { int x, y, z; public: CuriousTabData(int xx, int yy, int zz) { x = ++xx; y = ++yy; z = ++zz; } void Show() { cout<< "" << x++ << " " << y++ << " " << z++; } }; int main() { CuriousTabData objData(1, 2, 3); objData.Show(); return 0; }

← Previous Question Next Question→

Discussion & Comments

No comments yet. Be the first to comment!