We consider certain modifications of Szasz-Mirakyan operators $S_n$ in exponential weighted spaces $C_q$ of continuous functions and operators $T_n$ in $L^p$ spaces of Lebesgue integrable functions.