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

首页
字体:
上 页 目 录 下 章
41. 日本著名企业——Sony笔试题(2/2)
    int pheponatch(int);

    int main()

    {

    printf("the 10th is %d",pheponatch(10));

    return 0;

    }

    int pheponatch(int n)

    {

    --------------------------------

    | |

    | |

    --------------------------------

    }

    4.下列程序运行时会崩溃,请找出错误并改正,并且说明原因。

    #include

    #include

    typedef struct{

    tnode left;

    tnode right;

    int value;

    } tnode;

    tnode root=null;

    void append(int n);

    int main()

    {

    append(63);

    append(45);

    append(32);

    append(77);

    append(96);

    append(21);

    append(17); // again, 数字任意给出

    }

    void append(int n)

    {

    tnode neht=newnode;

    return;

    }

    }



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

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