1. We have moved from vBulletin to XenForo and you are viewing the site in the middle of the move. Though the functional aspect of everything is working fine, we are still working on other changes including the new design on Xenforo.
    Dismiss Notice

Problem in Inline Function

Discussion in 'C' started by nishu, Apr 9, 2008.

  1. nishu

    nishu New Member

    It is said that inline functions must be used when our function has short code. My question is what is the meaning of short code?I mean how many lines of code is permitted in inline functions.
  2. harimagic

    harimagic New Member

    Inline function should be as much as shorter. Like nearly 6 to 10 lines. Remember that inline function should not contain any loops in the function. Loops in the sense for() while() etc..

    For further information refer

  3. nishu

    nishu New Member

    thank you so much.

Share This Page