✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Hányszor hívódik meg az alábbi C++ programban a Pont osztály destruktora ?
struct Pont { int x; int y; };void foo(Pont& a) {
a.x = a.y;
}
int main() {
Pont p1;
foo(p1);
}