Hacker News new | ask | show | jobs
by Too 4398 days ago
How about the opposite? Make 2+3=4, here in C.

    add2And3(int *a, int *b)
    {
       *a = 3;
       *b = 2;
       printf("%d", *a + *b);  //4
    }
    void main()
    {
       int storage;
       add2And3(&storage, &storage);
    }