How make function which gives back two numerical values. I think needs using structure. now i try found my c book.
How make function which gives back two numerical values. I think needs using structure. now i try found my c book.
Using a structure is one way. Another is to pass pointers to local variables to the function and update them in that function.
I now found this book. Not yet idea how this local variables done? even correct words found info form The C (ANSI C)Programming Language (Brian W. Kernighan,and Dennis M. Ritchie) book.
I'm having difficulty understanding your question.
Have you read about structures?
Have you read about returning values from functions?