Question: Program chapter 6/7 Rewrite this program to pointer addressing instead of array subscripting #include ostream 10 11 #includestring> 12 #include ciamanip > 13 using namespace
#include ostream 10 11 #includestring> 12 #include ciamanip > 13 using namespace std: 14 15 // Function prototypes 16 int sum(int arryDI5) 17 void print (int arry[5]); 18 void swapRow2w3(intarry[5]); 19 void multipyBy3(int arry[5]); 20 //get the varos data 21 int main0 23 int cho=0; 24 int arry[5] [5]-(1. 2. 3. 4.5). 25 (-20. -40. -60. -80. -100) 26 (3.3.3,3.3) 27 (5. 7. 9. 11. 13). 28 (-15. -25. -35, -45, -55)) 29 while(cho != 5) //display menu 30 31 32 cout '1' Display array"
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
