Its neither the starter not the alternator. Alternator has nothing to do with starting the car. It only works once the car is running. The fact that the clock resets means you have a battery problem. Either the battery itself or connections.