Functions in c | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Functions in c

How can I return a value (0,1,2) from a function to the name of the function? Thank u!

13th Feb 2019, 8:53 AM
MargaritaK
1 Answer
0
I suppose you would have to define a 'struct' holding three numbers, and choose this struct as the return type of your function. https://www.sololearn.com/learn/C/2942/
13th Feb 2019, 10:12 AM
HonFu
HonFu - avatar