Question 12 To define a new type named doublePointer that is synonymous to double, use O typedef double double Pointer; define double doublePointer; typedef double doublePointer; Odouble doublePointer; Question 13 0/5 pts What is the output of the following code? int list[] = { 1, 2, 3, 4 ); 0/5 pts
e Incorrect Question 7 Analyze the following code: class Circle. { public: Circle (double radius). { } private: radius radius; double radius; The program does not compile because Circle does not have a default constructor. The program has a compilation error because you cannot assign radius to radius. The program has a compilation error because it does not have a main function. 0/5 pts The program will compile, but you cannot create an object of Circle with a specified radius. The object will have an unpredictable value for radius.
Drive 15 Incorrect Question 8 Given that newArr is declared as follows, How should you destroy newArr? int* newArr = new int [5]; delete [] newArr; delete *newArr; delete newArri delete *newArr; Question 9 Given the following code, which of the following choices is wrong? doublo 0/5 pts 5/5 pts
se ms eDrive ams Incorrect Incorrect CIFF se ms eDrive ams Incorrect Incorrect CIFF Question 12 To define a new type named doublePointer that is synonymous to dou
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am