looks good to me. the only things that could go wrong is an incorrect arraySize being passed in, or the examGrades[ ] array wasn't initialized properly (in this case, all elements to zero), which would cause random stuff from memory to reside in the array.
Clinton Portis 211 Practically a Posting Shark
kvprajapati commented: Neat & clear. Very good explanation. +11
Clinton Portis 211 Practically a Posting Shark
Clinton Portis 211 Practically a Posting Shark
ChristinaS commented: Fab! Thx! +2