i have a struct array called players. as it is an array is there any difference in
since my understanding is that if you pass an array to a function your actually passing a pointer to the array anyway.Code:void foo(Hand players[]) //or void foo(Hand *p_players)
second one is if i have a function that needs 2 of the 6 members of the struct is it better to pass the two members separately or the entire struct ie.
many thanksCode:foo(players[i].name, players[i].bets); //or foo(players)
coop