function strncpytest() ss="Ankit Raj"; nn=5; resu=strncpy(ss,nn); disp(resu); endfunction