Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

function as an argument of another function

bool DoSomeCalculation(int a, int b, int(*Calculator)(int, int)) 
{ 
	return Calculator(a, b); 
}
Source by www.quora.com #
 
PREVIOUS NEXT
Tagged: #function #argument #function
ADD COMMENT
Topic
Name
1+4 =