[cs23021-2] lab6 question

Mikhail Nesterenko mikhail at cs.kent.edu
Sat Oct 10 19:16:24 EDT 2009


> I'm try to pass the array wins[] from draw() into check() and printout()
> functions, can I do that? or have to use different array. Can different
> functions using same array wins[] that will be same memory location and same
> value?

Yes you can pas a single array, for example:

draw(wins, ...)
check(wins, ...)
printout(wins, ...)

Thanks,
--
Mikhail


More information about the cs23021-2 mailing list