Currently, the race cars use both the front and rear engine. 
The location of the engine in front of a classic design for today's production cars. 
When creating a racing car using standard units of front-engine layout makes the decision a few different structural problems (the correct weight distribution between front and rear axles, the unit cooling system with less distancing the radiator from the engine, the location of fuel tanks). 
Rear engine, gets to race cars lately becoming more common. 
The main advantages of this arrangement are as follows: 
1. The length of the shaft transfers torque from the engine to the driven rear wheels will be considerably shorter. This reduces losses in power transmission and increases its efficiency by reducing the vibrations that occur when a long cardan shaft. 
2. Reducing the weight of the power transmission by reducing the length of drive shaft. 
3. More low center of gravity of the car that improve its stability due to the lack of passing in the middle drive shaft that makes it possible to delete the driver seat. 
With proper arrangement and placement of fuel tanks can be achieved by the weight distribution between the axles in the above limits. Thus, in some modern race cars with rear-engine, front axle has 44-45%, while the rear - 55-56% of the total weight of the car.
The disadvantage of rear-mounted engine on road racing cars is some difficulty driving at the turn. When driving a car on a bend by the centrifugal-force applied to the center of gravity tends to turn around the front axle. To counteract skidding rear wheel driver must align the car respective steering in the direction of skidding. If the driver is sitting in front of the car, it feels less skidding rear wheel is not so quick to respond to this phenomenon. 
In most racing cars with rear-tightness between the engine driver's seat can be positioned in the middle of the car and almost deteriorating drivability on the turn when it is not felt.