m3ph1st0s's programming puzzle 1 (C++) This is the first of a series of C++ puzzles for you. Hope you will enjoy.

So, puzzle no.1:

Given the following program:

#include &lt;iostream&gt;
int main() 
{
   const int a=1;
   const int b=2;
   const float c=0.5;
   std::cout &lt;&lt; a/b-a*c;
}


Insert some code on a single new line anywhere inside the program so that the output will be 0. The new line will contain AT MOST 18 characters (including spaces), and the rest of the lines will remain unmodified.
 To be clear, here is an example of a valid new code:

#include &lt;iostream&gt;
int main() 
{
   const int a=1;
   const int b=2;
   int* p = NULL;
   const float c=0.5;
   std::cout &lt;&lt; a/b-a*c;
}


A new line with 15 characters was inserted so it's ok. However it does not solve the problem.

If this is too simple for you, don't worry, more is coming!!
We can get rid of a=1 by moving it into another scope:

#include &lt;iostream&gt;
main() 
{
int a=0;if(0)
    const int a=1;
    const int b=2;
    const float c=0.5;
    std::cout &lt;&lt; a/b-a*c;
}


This is I think 13 characters. Or better yet get a new a that also results in 0:

#include &lt;iostream&gt;
int main() 
{
   const int a=1;
   const int b=2;
   const float c=0.5;
if(int a=2)
   std::cout &lt;&lt; a/b-a*c;
}


That's 11 characters