Q1
MCQ1 mark, −0.25Consider the following function. For large values of , the return value of the function best approximates float f,(float x, int y) { float p, s; int i; for (s=1,p=1,i=1; i<y; i++) { p *= x/i; s += p; } return s; }
Sign in to save attempts.
Loading…