Inline function in other inline function in C.

Posted by Eonil on Stack Overflow See other posts from Stack Overflow or by Eonil
Published on 2010-05-01T17:09:40Z Indexed on 2010/05/01 17:17 UTC
Read the original article Hit count: 303

Filed under:
|

Will this code:

inline int funcA(int a)
{
    return a + 1;
}
inline int funcB(int b)
{
    return funcA(b + 2);
}
int main()
{
    return funcB(3);
}

transformed to code like this?:

int main()
{
   return ((3) + 2) + 1;
}

© Stack Overflow or respective owner

Related posts about c

    Related posts about inline-function