assgn can be printed just by the first number of an expression and print still have segment error