Sir, in reference to your theory stating time constant is infinite, from the first method (pulse input) it takes infinite time for the capacitor to charge, but in normal circuits also the capacitor takes infinite time to charge with finite time constant