Fill This Form To Receive Instant Help
Homework answers / question archive / Polymorphism statements and I am very new at C++ on so I need help solving it
Polymorphism statements and I am very new at C++ on so I need help solving it. It is very difficult. It is very confusing since the there are multiple inputs and main function can only code one input in the simulation.
Assign numItems' address to numItemsPtr, then print the shown text followed by the value to which numItemsPtr points. End with newline.
Items: 99
#include <iostream>
using namespace std;
int main() {
int* numItemsPtr = nullptr;
int numItems;
numItems = 99;
/* Your solution goes here */
return 0;
}