b = a[0] * 1000 + 1[a] * 100 + *(a+2) + 10 + a[3];