although this is a different method, it made me look at the error message in a different way. it appears the function prototype was wrong. it needed to be: PopulateArray(int *, int), not (int, int). Because we have been learning about "*p" and "*r" and not "int*", i wasn't seeing the need to change to prototype. now with my newfound powers...