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

need help!

Discussion in 'C' started by ratheeshp, May 24, 2007.

  1. ratheeshp

    ratheeshp New Member

    Is it possible to write "return" function inside a conditional operator? If yes please inform me how is it possible.
     
  2. shabbir

    shabbir Administrator Staff Member

    Code:
    x>1?1:fx();
    fx return type is an integer.
     
  3. DaWei

    DaWei New Member

    If you mean return keyword instead of return function, then:
    Code:
        if (error) return EOF;
    
     

Share This Page