logo

Crowdly

Adott a következő osztály: class intT {     int array[100]; public:     in...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

Adott a következő osztály:

class intT {

    int array[100];

public:

    int operator[](size_t idx) {

        return array[idx];

    }

};

Helyes-e a következő kódrészlet?

intT t;

t[0] = 100;
0%
100%
More questions like this

Want instant access to all verified answers on edu.vik.bme.hu?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!