![subject](/tpl/images/cats/informatica.png)
Computers and Technology, 14.04.2020 22:22 jordanrini
21) The following program generates an error. Why? #include #include using namespace std; class Arcade { public: Arcade(); Arcade(string name, int r); void Print(); private: string arcName; int rating; }; Arcade:: Arcade() { arcName = "New"; rating = 1; } Arcade:: Arcade(string name, int r) { arcName = name; rating = r; } void Arcade:: Print() { cout << "Name is: " << arcName << endl; cout << "Rating is: " << rating << " stars" << endl; } int main() { Arcade myArc(Games Ablaze, 5); myArc. Print(); } a. The object creation should be Arcade myArc(Games Ablaze, 5) b. The object creation should be Arcade myArc. Arcade(Games Ablaze 5); c. The object creation should be Arcade myArc. Arcade('Games Ablaze', 5); d. The object creation should be Arcade myArc("Games Ablaze", 5);
![ansver](/tpl/images/cats/User.png)
Answers: 2
![](/tpl/images/ask_question.png)
![](/tpl/images/ask_question_mob.png)
Another question on Computers and Technology
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 11:30
What do character formats do for your document's message? a.set the tone b.provide organization c.provide clarity d.set how texts align with documents
Answers: 2
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 22:00
What is the name of the option in most presentation applications with which you can modify slide elements? 1. the option enables you to modify a slide element in most presentation applications.
Answers: 3
![question](/tpl/images/cats/informatica.png)
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 03:30
How can you repin an image on your pinterest pin board a. click on the "repin" button b. click on the "add pin" button c. click on the "upload a pin" button d. click on the "save pin" button.
Answers: 2
You know the right answer?
21) The following program generates an error. Why? #include #include using namespace std; class Arca...
Questions
![question](/tpl/images/cats/en.png)
English, 21.06.2020 17:57
![question](/tpl/images/cats/mat.png)
Mathematics, 21.06.2020 17:57
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/fizika.png)
![question](/tpl/images/cats/istoriya.png)
![question](/tpl/images/cats/istoriya.png)
![question](/tpl/images/cats/biologiya.png)
Biology, 21.06.2020 17:57
![question](/tpl/images/cats/health.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 21.06.2020 17:57
![question](/tpl/images/cats/istoriya.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 21.06.2020 17:57
![question](/tpl/images/cats/obshestvoznanie.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 21.06.2020 17:57
![question](/tpl/images/cats/mat.png)
Mathematics, 21.06.2020 17:57
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/istoriya.png)
History, 21.06.2020 17:57
![question](/tpl/images/cats/himiya.png)
Chemistry, 21.06.2020 17:57