+ 14
Proof that 1 + 1 = 0
Make a program (in any language) that gives this result. https://code.sololearn.com/chf4536OGDpC/?ref=app
7 Answers
+ 20
https://code.sololearn.com/cZx177kn53Zj/?ref=app
+ 20
std::cout << !(1+1);
+ 10
void main ()
{
cout<<"Just Funny coding ;-)";
cout<<"1-1 = 3-3";
cout<<"1(1-1) =3(1-1)";
cout<<"1 = 3";
cout<<"1-1 = 3-1";
cout<<"0 = 1+1";
}
+ 8
https://code.sololearn.com/c12BZQBIH2Sw/?ref=app
Manipulating Java's integer cache to get the result!
+ 7
Cute. By the same token, 1*1=0.
Funny operator*(Funny &obj) {return this->number / obj.number;}
+ 5
#include <iostream>
using namespace std;
int main() {
cout << "1 + 1 = 0";
return 0;
}