int b_main_source(int data);void _main(){int data;data=b_main_source(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");}}}int b_main_source(int data){{char input_buf[CHAR_ARRAY_SIZE]="";fgets(input_buf, CHAR_ARRAY_SIZE, stdin);data=atoi(input_buf);}return data;}
static void main(){int data;data=b_main_source(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");}}}int b_main_source(int data){data=7;return data;}