Question: solve for c++ programming Lab 3.2.1 Vectors and pointers: first try Objectives Familiarize the student with: . dec aring pointer variables; assigning values to pointer

solve for c++ programming
Lab 3.2.1 Vectors and pointers: first try Objectives Familiarize the student with: . dec aring pointer variables; assigning values to pointer variables; using incrementation to move the pointer through adjacent memory locations. Scenario Look at the code below. It doesn't look scary, right? Your task dosa't bok scary either - you jast have to find the smalles clement in the vector. But there's one condrion-you musta't une indexing In other words, using brackets in your code is strictly prohibited Hint: You may use as many pointers as you wish. Forghe us that we don'i show you any sample output. We woulkd much rather see your code- it's much more intcresting using namespace std; int main(void) ( int vectort) (3, 5, 7, 10, 4, 14, 5, 2, -13 int n sizeof (vector) / sizeof(vector(e1): return e
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
