> --> rb = b + base; > > Should the line marked by arrow not be following? > > rb = base + b In C, p+n and n+p are the same, even if p is a pointer and n is an int.