Question: Suppose a c++ code contains following array foo. What will be the content of foo after getting passed into the loop. (10 marks) int
Suppose a c++ code contains following array foo. What will be the content of foo after getting passed into the loop. (10 marks) int foo[] = {1,2,3,4,5}; for(int i=0; i < 5; i++) { } foo[i]+=i* 4;
Step by Step Solution
There are 3 Steps involved in it
After the loop iterates over the array foo each element of foo ... View full answer
Get step-by-step solutions from verified subject matter experts
