After all the transients have settled down what would be the output voltage
If \$V_{o}(0)=5V\$, it means the cap is charged.  

Imagine both transistors were in conduction: nothing would happen, because the cap and the voltage supply are at the same potential.  

Now imagine the transistors were off: nothing would happen, because the cap has nowhere to discharge.  

In both cases, \$V_{o}(\infty)=5V\$

However, infinity is a long time, and real caps self discharge over time, plus mosfets have gate leakage, but I suspect this is beyond the scope of the exercise. 

By the way, you should use a mosfet symbol that differentiates between source and drain, at least when it is not obvious.  Also, try Ctrl-M to open CircuitLab and draw the circuit more clearly than by hand.