I am trying to pass a coordinate, which is defined as struct with 2 integer parameters (the struct is called coord) the following way:
UpdateB({0,0});
where the input argument is of type coord (i.e. in the above statement I am trying to pass a coordinate 0,0
). UpdateB
is some function. I am getting an error, any ideas what
the problem could be?