-8

I encountered some codes as the following:

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

What's the upper code doing ?

Jerikc XIONG
  • 3,307
  • 5
  • 39
  • 65

1 Answers1

1

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

RamblingMad
  • 5,174
  • 1
  • 21
  • 45