int ssearch2(t) hold = x[n] x[n] = t for (i = 0; ;i++) if x[i] == t break x[n] = hold if i == n return -1 else return i;