Solved

Foreach (Int Val in AnotherArray) Total += Val;

Question 13

Multiple Choice

foreach (int val in anotherArray) total += val;
Using the above declaration along with the foreach loop,what is stored in total after the program statements are executed?


A) 10
B) 2
C) 48
D) 45

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions