CPA-21-02 Web TestEngine demo

Exit VCEDump CPA-21-02 CPA - C++ Certified Associate Programmer
Question 39 of 39
0% complete
Q39 Single choice

What is the output of the program?

#include <iostream>
#include <string>
using namespace std;
struct t

{
int tab[2];
};
class First
{
struct t u;
public:
First() {
u.tab[0] = 1;
u.tab[1] = 0;
}
void Print(){
cout << u.tab[0] << " " << u.tab[1];
}
};
int main()
{
First t;
t.Print();
}

Sign in to mark questions

Sign in to save marked questions and return to this demo.

Sign in