[ create a new paste ] login | about

Link: http://codepad.org/N06weGJc    [ raw code | output | fork ]

C++, pasted on Jun 25:
1
2
3
4
5
6
7
8
9
#include <iostream>
int main() 
{
   const int a=1;
   const int b=2;
   const float c=0.5;
#define a 0
   std::cout << a/b-a*c;
}


Output:
1
0


Create a new paste based on this one


Comments: