lundi 12 avril 2021

Can someone explain to me what the & is here for? [duplicate]

This is a function name, and I can't understand what the first argument is. What I can understand is that a matrix is being created. But what's the & here for? and is the matrix named as matrix?

bool searchMatrix(vector<vector<int>>& matrix, int target)

Aucun commentaire:

Enregistrer un commentaire