GATEverse
← GATE CSE 2003

Q1

MCQ1 mark, −0.25

Consider the following CC function. For large values of yy, the return value of the function ff 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…