+ 14

Proof that 1 + 1 = 0

Make a program (in any language) that gives this result. https://code.sololearn.com/chf4536OGDpC/?ref=app

14th Oct 2017, 4:49 AM
Prop de Puppy
Prop de Puppy - avatar
7 Answers
+ 20
https://code.sololearn.com/cZx177kn53Zj/?ref=app
14th Oct 2017, 2:12 PM
Vukan
Vukan - avatar
+ 20
std::cout << !(1+1);
14th Oct 2017, 4:57 AM
Hatsy Rei
Hatsy Rei - avatar
22nd Apr 2019, 8:44 PM
SƂawek J.
+ 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"; }
14th Oct 2017, 3:19 PM
Sandeep Garai
Sandeep Garai - avatar
+ 8
https://code.sololearn.com/c12BZQBIH2Sw/?ref=app Manipulating Java's integer cache to get the result!
14th Oct 2017, 6:40 AM
Schindlabua
Schindlabua - avatar
+ 7
Cute. By the same token, 1*1=0. Funny operator*(Funny &obj) {return this->number / obj.number;}
14th Oct 2017, 4:58 AM
John Wells
John Wells - avatar
+ 5
#include <iostream> using namespace std; int main() { cout << "1 + 1 = 0"; return 0; }
14th Oct 2017, 1:52 PM
ReimarPB
ReimarPB - avatar