Answer the question
In order to leave comments, you need to log in
Is it possible to learn from a function a pointer to a variable where it returns a value, without explicitly specifying it in the O_o parameters?
Greetings!
In general, subject =)
For example:
int myFunction()
{
....
*mf = 123;
....
}
void main()
{
int mf = myFunction();
qDebug()<<"mf"<<mf;
}
Answer the question
In order to leave comments, you need to log in
Is it possible to learn from a function a pointer to a variable where it returns a value
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question