returned values in ANSI C
Posted on 2004-04-18
Well I'm not the best when it comes to ANSI C programming...but i thought this was for sure.
Let's say we have the code
I expected that the output at the screen would be "t=1"....It's not it's something like 1245052 and doen't seem somehow connected to the value the test() functin returns...
The problem is how can I save the value that a function returns into a variable...In this specific case how can I save somewhere the value "1".