Classify the following literals as strings or ints: "a", "", "0", 0, 0xasdf, "0xasdf"


In many programming languages, string literals are surrounded by double quotes. That means that "a", "", "0", and "0xasdf" are strings, while 0 and 0xasdf are int literals.