Question: question 1 and 2 please Fill in the code to make it legal and have the correct output No spacesl Assume that the array has
Fill in the code to make it legal and have the correct output No spacesl Assume that the array has no empty slots by the end of the code. int main0 std artaycint, myArray at (0)=3, myArray at(1) =2, myArray at(2) =6; cout myAlrayati 1 output 2 QUESTION 2 Fill in the code to make it legal and have the correct output. No spacest Assume everything that needs to be tincluded is Hincluded! int main() \{ vectore int > myNector, myvector myVector myvecto cott myVector (3), (2). (6), 1
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
