1 2 3 static void bar ( void*(*service)(int,int) ) 4 { 5 int i; 6 for (i = 0; i < 100000; i++) ; 7 service(1, 'h'); 8 service(1, 'e'); 9 service(1, 'l'); 10 service(1, 'l'); 11 service(1, 'o'); 12 service(1, '\n'); 13 } 14 15 void entry ( void*(*service)(int,int) ) 16 { 17 bar(service); 18 service(0,0); 19 } 20 21