有以下函数定义,调用语句为int res = fun(4, 2);,返回的res值是( )
int fun(int x, int y) { int i; long p = 1; for (i = 0; i < y; i ++) p *= x; return p; }
6
8
16
32