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

function pointer problem

Discussion in 'C' started by sandesh, Sep 26, 2007.

  1. sandesh

    sandesh New Member

    Hello.......
    In the given code I want to use only one function pointer which can call two different type of function .............is it possible ................if yes then how ???


    main()
    {
    // ( )(* fun_point)( );
    int fun1(int,int);
    char fun2(char,char);
    }
     
  2. shabbir

    shabbir Administrator Staff Member

    Its possible given both have the same function signature
     
  3. sandesh

    sandesh New Member

    hello shabbir ...............i am very new to programming can u tell me briefly about the function signature
     
  4. shabbir

    shabbir Administrator Staff Member

    The combination of a function name and the data types of the arguments in a particular order.
     

Share This Page