美文网首页
38 - Introduction to Pointers

38 - Introduction to Pointers

作者: 社交帐号直接注册 | 来源:发表于2018-01-02 10:00 被阅读0次
    #include <iostream>
    using namespace std;
    int main()
    {
        int fish = 5;
        cout << &fish << endl;
        int *fishPointer;
        fishPointer = &fish;
        cout << fishPointer << endl;
        return 0;
    }
    

    相关文章

      网友评论

          本文标题:38 - Introduction to Pointers

          本文链接:https://www.haomeiwen.com/subject/szhfnxtx.html