Quiz 1.3: Variables and objects
Q1: Passing functions as argument to other functions (callbacks)
Which is the output of the following snippet?:
foo(x) = x+1
boo(x) = x+2
zoo(foo,x) = foo(x) + 1
zoo.(boo,[1,2,3])
Which is the output of the following snippet?:
foo(x) = x+1
boo(x) = x+2
zoo(foo,x) = foo(x) + 1
zoo.(boo,[1,2,3])