Skip to content

Why is the Putback initialized to '\n'? #83

Description

@Currygm

Excuse me, I' m a freshman studying computer science. I'm trying to follow along this series and this is the first project I have tried. When I was studying the main.c in 01_Scanner, I can't understand why the Putback should be initialized to '\n'. I think about that if it could be initialized to 0 or just a whitespace. I think it doesn't matter.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions