#include int sum(int a, int b) { int ans=a+b;/*型宣言文で代入可*/ /*int ans; ans=a+b;*/ return ans; } void main() { int x,y,z; x=1; y=2; z=sum(x,y); printf("z= %d\n",z); }