Default Parameters in C ?????

Discussion in 'C' started by sivakumar.oracle, Aug 16, 2007.

Thread Status:
Not open for further replies.
  1. sivakumar.oracle

    sivakumar.oracle New Member

    Joined:
    Aug 16, 2007
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    Hi Folks,

    I was stuck up with one small doubt on Function parameters in Pro*C
    file writting.

    int b = 3;
    main()
    {
    f(3);
    }

    f(a,b)
    {
    int a;
    ---
    --
    return --;
    }

    can i use default parameter 'b' in the called function,where calling the function from main() through single parameter,is this is possible in pro*c.

    Please i want immediate response.
     
  2. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,336
    Likes Received:
    377
    Trophy Points:
    83
Thread Status:
Not open for further replies.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice