The output you get with a DC signal depends on the feedback network, the signal on the non-inverting input, the supply voltages and the characteristics of the op amp.
If you have the non-inverting input at 0V and you put 5V on the inverting input, the output will be has close to the minus rail...