I intend to travel on Hampi express from SBC(Bengaluru City station) to Hospet. As only waitlisted tickets were avaialable between these stations, I have booked my journey from Kengeri to Hospet and changed the boarding point to SBC. My ticket is currently [RAC(Reservation against Cancellation)](https://en.wikipedia.org/wiki/Reservation_against_Cancellation).

How does seat allocation happen in such a situation - Is it based on booking station or boarding station?