Relative Content

Tag Archive for cgcccompiler-construction

What does #define do in the Compiler?

I’ve been using C for a little over a year now, and I was wondering exactly how #define works.
I know you can use it as a macro, eg. #define MUL(x, y) (x*y), but what’s happening when you define something without giving a definition?
e.g.