Bad C drive?

I got a new computer, well it was used…but anyways…I went to install world of warcraft on it, by default I used the C drive…but for some reason it kept restarting for no apparent reason, with out error…this happened twice…third time…I randomly decided to install it on the D drive…it completed first time with out incident…could a bad drive cause random restarts?