What is the output of the program?
#include
#include
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();
}
Currently there are no comments in this discussion, be the first to comment!