If the problem is not severe, you can usually drive a car with a P0740 code. However, if the code is accompanied by drivability problems, then it may be unsafe to continue driving. Contact your car manufacturer or an automotive service center for more information about whether you can safely drive your vehicle.