你也能拿高薪: 名企面试自助手册

首页
字体:
上 页 目 录 下 章
39. 全球第三、欧洲第一的大半导体企业(2/2)

    here, the function argument “&num” is passed  .

    a. by value b. by reference

    iii. practice

    create a tree,  incomplete solution.

    #include

    #include

    struct tree{

    char info;

    p_sub; //link to sub-nodes

    };

    // allocate memory and initiate

    void dnode ( struct tree tmp )

    {

    =malloc( sizeof (struct tree) );

    = 0x41;

    = null;

    }

    struct tree dtree (struct tree subtree, int height, int ht == 1 )

    return subtree;

    else if ( height == 2 ) {

    struct tree leaf = null;

    for ( i=0; i



    狠男人小说最快更新,无弹窗阅读请。

本章未完,请翻开下方下一章继续阅读