how could the pointer variable' address and object's address be the same in c++ (BST implementation)

前端 未结 0 469
名媛妹妹
名媛妹妹 2020-12-16 02:40
void insertBST(BST &T, int newKey){
    Node *q = nullptr;
    Node *p = &T.root;
    while (p != nullptr){
        int i = 0;
        if (newKey == p->ke         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题