30 Jun 2021 by Richard MacCutchan
int i; p.f(a[i],x,10);// ???,0,10 You have not initialised i to any value, so that parameter will likely be garbage. In future please: - use proper indentation for your code - do not put multiple statements on the same line - use meaningful...