Classwork 04
Dynamic Memory Allocation Task 1 Code #include <iostream> using namespace std ; int main (){ int * p ; int num1 = 5 ; int num2 = 8 ; p = & num1 ; //store the address of num1 into p * p = 10 ; cout << endl ; cout << "Line 1: &num 1 = " << & num1 << ", p = " << p << endl ; cout << "Line 2: &num 1 = " << & num1 << ", *p = " << * p << endl << endl ; ...