So i have 3 codes here,
in first one i haven\'t initialized the string ! and strlen shows "3" in ans
in 2nd one i initialized it with