Which C++ statement incorrectly uses a pointer defined asFraction *p=new Fraction[10]; where Fraction is a class that haspublic members set(int, int), get_num(), get_den().(*(p+2)).set(10, 20); p->set(10,20); (*p).set(10,20);p.set(10,20);
Expert Answer
An answer will be send to you shortly. . . . .