The answer to this could depend upon some factors and facts that you have not mentioned. Generally Car A would be responsible for all of the consequences of that driver's negligence.
call me if you have injuries from Car A.
Robert J Spitz
909 395 0909