#include<stdio.h>
int fun2(int a,int b)
{
int c;
c=(a*b)%3;
return c;
}
int fun1(int a,int b)
{ int c;
a+=a;
b+=b;
c=fun2(a,b);
return c*c;
}
main()
{
int x=11,y=19;
printf("%d\n",fun1(x,y));
}
#include<stdio.h>
int fun2(int a,int b)
{ int c; c=(a*b)%3;//c=(22*38)mod 3 return c;//c=2
}
int fun1(int a,int b)
{ int c; a+=a;//a=11+11 b+=b; //b=19+19 c=fun2(a,b);//c=2 return c*c;//c*c=4
}
main()
{ int x=11,y=19; printf("%d\n",fun1(x,y));//=4
}