DCGAN is initialized with random weights, so a random code plugged to the network would deliver a totally random graphic. Having said that, as you may think, the network has a lot of parameters that we are able to tweak, and also the goal is to locate a environment of those parameters which makes samples produced from random codes seem like the tea