有以下程序,#include <stdio.h> vo

有以下程序,

#include <stdio.h>
void fun(int*pl,int*p2,int*s)  { s=(int*)malloc(sizeof(int));  
  *s=*pl+*p2;   free(s);   
 }  
 int main()  
  {int a=1,b=40,*q=&a;   fun(&a,&b,q);   
 printf("%d\n",*q);   }

程序运行后的输出结果是( )。

答案
C

题目信息

题号:717
题型:单选题
难度:普通