9 lines
115 B
Text
9 lines
115 B
Text
function repeat(f,n) {
|
|
for (i=1; i<=n; i++) (*f)()
|
|
}
|
|
|
|
function hello() {
|
|
printf("Hello\n")
|
|
}
|
|
|
|
repeat(&hello(),3)
|