vendredi 16 juillet 2021

What does a pointer in the header mean? I couln't find the exact term to google

class Solution {
public:
    ListNode *detectCycle(ListNode *head) {
        
    }
};

I am learning C++. I don't have much experience with it so I don't know the term which I can google to get the meaning of the pointer in the function header. What is *detectCycle? What is the use for it? It can be a basic question but I really don't have any idea about it. Thanks.

Aucun commentaire:

Enregistrer un commentaire