DCGAN is initialized with random weights, so a random code plugged into your network would make a very random image. Having said that, as you might imagine, the network has many parameters that we are able to tweak, plus the goal is to find a placing of such parameters which makes samples generated from random codes seem like the education details.