void main_sink(struct_type my_struct);void main(){int data;struct_type my_struct;data=-1;data=10000;my_struct.a=data;main_sink(my_struct);}void main_sink(struct_type my_struct){int data=my_struct.a;{char * char_string;if (data > 0){char_string=new char[data];strcpy(char_string, HELLO_STRING);printLine(char_string);delete [] char_string;}else{printLine("Input is less than 0");}}}
static void main(){int data;struct_type my_struct;data=-1;data=20;my_struct.a=data;main_sink(my_struct);}void main_sink(struct_type my_struct){int data=my_struct.a;{char * char_string;if (data > 0){char_string=new char[data];strcpy(char_string, HELLO_STRING);printLine(char_string);delete [] char_string;}else{printLine("Input is less than 0");}}}