Before sending the file for lexical analysis, it will be pre- processed, which will remove all the statements containting $#$.
To see what is actually sent to the lexer, use the command
cpp <input.cpp>
on Linux, to see a pre processed file.
64.3k questions
77.9k answers
244k comments
80.0k users