The starting asterisk indicates that the data is to be read from the stream but ignored (i.e. it is not stored in the location pointed by an argument).
Reference: http://www.cplusplus.com/reference/cstdio/scanf/
So the data would not be saved in the variable.
1
solved What does %*c do when getting input from stdin? [closed]