Related to tokenization

as input retains the value but next time when we recall the function in while loop char *input=null; does have any impact on input or it reatins the old value? but acc. to me it again initialize to null .