DCGAN is initialized with random weights, so a random code plugged into the network would make a very random picture. Having said that, as you may think, the network has numerous parameters that we can easily tweak, and also the target is to find a environment of those parameters which makes samples generated from random codes seem like the tea