Return more than one value or an array from a function in C without using pointer or structure -
can return more 1 value function or array without using pointer or structure? if yes,then how?
you can't. in c, every function returns either no value, not return or returns 1 value. can't return more 1 value except using 1 of things exclude or writing value global variable caller can read, that's bad idea.
Comments
Post a Comment