RAC, or Reservation Against Cancellation, is not the same as a confirmed berth. An RAC ticket guarantees you a reserved seat and allows you to board the train. If a confirmed passenger cancels or does not turn up, an available berth can be allotted to RAC passengers according to priority. So, RAC guarantees travel, but not necessarily a full berth throughout the journey.