static void main_sink(int data){{int data_buf[10]={0,1,2,3,4,5,6,7,8,9};if (data >=0){printIntLine(data_buf[data]);}else{printLine("ERROR: Array index is negative");}}}void _main(){int data;void (*func_ptr) (int)=main_sink;data=10;func_ptr(data);}
static void main_sink(int data){{int data_buf[10]={0,1,2,3,4,5,6,7,8,9};if (data >=0 && data < 10){printIntLine(data_buf[data]);}else{printLine("ERROR: Array index is out-of-bounds");}}}static void main(){int data;void (*func_ptr) (int)=main_sink;data=10;func_ptr(data);}