The correct option is C (iv)>(ii)>(iii)>(i)
More the availability of N−atom to donate its lone pair, more will be basicity of amine.
Thus, presence of electron releasing groups (like −CH3,−C2H5) increases the basicity but presence of electron withdrawing group (Like −C6H5) decreases the basicity. Ammonia (NH3) because of the absence of any group is less basic than the amines having electron releasing group. Thus, the order of basic strength of the given compounds is
(CH3)2NH(iv)(because of two electron releasing−CH3group)>C2H5NH2(iii)>NH3(iii)>C2H5NH2(i)