Benutzer definieren die Funktion in C.


#include<stdio.h>

int add (int,int);
int mul(int);

main()

{
  
  int a=4,b=8,sum;
  sum= add (a,b);
  int m=mul(sum);
  printf("%d \n",sum);
 
  printf("%d\n",m);
  
}
int add (int x,int y)

{
  
 int sum=x+y;
 
 
  return sum;
}

int mul(int x)

{
  
  int mul = x*x;
  return mul;
}
Blue-eyed Bird