Microsoft Corp reported quarterly revenue and profit that beat analysts’ expectations, driven by aggressive cost cutting and growing demand for its…