Search:

Type: Posts; User: richter03

Search: Search took 0.00 seconds.

  1. Thread: Type casting

    by richter03
    Replies
    2
    Views
    4,358

    You use wrong contain type. /* Normally. */...

    You use wrong contain type.


    /* Normally. */
    Delegate = &Method_name;


    int m_plus(int a, int b){ return a + b; }
    int m_minus(int a, int b){ return a - b; }
    int (*d_m)(int, int);
  2. Replies
    9
    Views
    5,687

    It's nothing to do with order, multiply or...

    It's nothing to do with order, multiply or division first will get the same result; the reason result became -8 is about type conversion, division operator doesn't always return float type.
Results 1 to 2 of 2