The structure is defined as
struct state{
string node_name;
int node_no;
int node_val;
int occupant;
vector<int>node_con;
};
state s[100][100]
I want to send it to a fucntion along with i and j values , where s[i][j] , (i->rows , j-> columns) . How will the struct be sent with both i and j ?