+ 1

I need help

Drag and drop from the options below to declare ''Ninja'' and ''Monster'' objects, and then two ''Enemy'' pointers that point to the ''Ninja'' object and the ''Monster'' object, respectively. ninjaObj; monsterObj; Enemy* e1 = ; e2 = &monsterObj;

30th Sep 2018, 12:29 AM
Jihad Wahdan
Jihad Wahdan - avatar
4 odpowiedzi
+ 4
Question: Drag and drop from the options below to declare ''Ninja'' and ''Monster'' objects, and then two ''Enemy'' pointers that point to the ''Ninja'' object and the ''Monster'' object, respectively. Answer: Ninja ninjaObj; Monster monsterObj; Enemy* e1 = &ninjaObj ; Enemy* e2 = &monsterObj;
29th Dec 2018, 1:36 PM
Shubham Nama
Shubham Nama - avatar
0
Thank you
30th Sep 2018, 3:00 AM
Jihad Wahdan
Jihad Wahdan - avatar
0
thanks all for your suports
4th Jun 2020, 4:52 AM
Waled Moumari
Waled Moumari - avatar
0
Ninja ninjaObj; Drag and drop from the options below to declare ''Ninja'' and ''Monster'' objects, and then two ''Enemy'' pointers that point to the ''Ninja'' object and the ''Monster'' object, respectively. Answer: Monster monsterObj; Enemy* e1 = &ninjaObj; Enemy*e2 = &monsterObj;
21st Sep 2020, 7:09 PM
OjeifoIduma