What exactly does an #if 0 ..... #endif block do?

Posted by vette982 on Stack Overflow See other posts from Stack Overflow or by vette982
Published on 2010-05-17T21:23:04Z Indexed on 2010/05/17 21:30 UTC
Read the original article Hit count: 141

Filed under:
|
|

In C/C++

What happens to code placed between an #if 0/#endif block?

#if 0

//Code goes here

#endif

Does the code simply get skipped and therefore does not get executed?

© Stack Overflow or respective owner

Related posts about c

    Related posts about c++