阅读以下说明、C函数和问题,将解答写入答题纸的对应栏内。 【说明1】 函数test_fl(int m,im n)对整数m、n进行某种运算后返回一个整数值。 【c函数1】 int test_f1 (int m,int n) { int k; k=m>n?m:n; for(; (k%m! =O) I I (k%n! =0);k++); return k; ) 【问题1】(5分)(1)请写出发生函数调用test_fl(9,6)时,函数的返回值;(2)请说明函数test_f1的功能。 【说明2】 设在某c系统中为每个字符分配1个字节,为每个指针分配4个字节,sizeof(x)计算为x分配的字节数。 函数test_12Q用于测试并输出该c系统为某些数据分配的字节数。 【c函数2】 void test_f2() { char str[] =“NewWorld”; char*p=str; char i=‘\0’; VOid*ptr=malloc(50); printf(”%d\t”,sizeof(str));printf(“%d\n”,sizeof(p)), printf(”%d\t”,sizeof(i)); printf(”%d\n”,sizeof(ptr)); } 【问题2】(4分) 请写出函数test_f2()的运行结果。 【说明3】 函数test_f3(char S[])的功能是:将给定字符串S中的所有空格字符删除后形成的串保存在字符数组tstr中(串S的内容不变),并返回结果串的首地址。 【C函数3】 char*test_f3(const char s[])( char tstr[50]=(‘\0’); unslgned int i,k=0; for(i=0;i(strlen(s);i++) if(s[i]!=‘’)tstr[k++]=s[i]; return tStr ; ) 【问题3】(6分) 函数test_f3()对返回值的处理有缺陷,请指出该缺陷并说明修改方法。