c - Arrays scoping in threads -
how arrays scoped in c? when ever destroyed? (note, talk if can passed in p_threads)
they're scoped normal variables:
// in function int arraya[300]; { float arrayb[100]; // arraya , arrayb available here } // arrayb out of scope, inaccessible. // arraya still available.
if pass array function, valid long array still in scope @ calling site.
Comments
Post a Comment