return 2 variables from function

 
ShinjiOno:
Hi guys, Just wanna check if I can do int a,b = function(d,e,f)
Nope.
 
you can pass variables as parameters by reference : a = function( &b, d, e, f); or function(&a, &b, d, e, f); https://docs.mql4.com/basis/variables/formal
 

Return them as an array.

 

The question is soooo vague. Here's what came to my mind.

Where 574= the result of function(d,e,f). Book.