Iam trying to compile this program but i get warning and when i run vc++ 2010 debugger pops up : ( Here is my code :
#include using namespa
Suppose the entire array you pass in is 0. Both loops short-circuit and never execute, both minn and index are uninitialized.
Now if this happens, what should be happening? Set the variables to the values that accomplish just that.