-8

I encountered some codes as the following:

#define MY_IDENTIFIER
void someCode() 
{
    ...
    MY_IDENTIFIER
    ...
}

What's the upper code doing ?

Jerikc XIONG
  • 3,517
  • 5
  • 42
  • 71

1 Answers1

1

Absolutely nothing. The pre-processor is simply replacing MY_IDENTIFIER with nothing wherever it encounters it.

RamblingMad
  • 5,332
  • 2
  • 24
  • 48