Hello. In my code, I have a function like such: int function1(int* a, int* b). I am wondering how to call it in int main.Any help would be appreciated. Thank you!
Thank you much, but kbw in my program, I have it like such:
Int Function1(int*var1,int* var2)
{Blah}
Int Function2(int randomvar)
{
Int a ;
Int b ;
Function1(&a,&b) ;
}
I solved the problem by calling the second function( function2 ) like this in int main: function2(0) ; that made it work properly because of the function1(&var...). Thank you everyone!