int fun( int a, int b ){ int value = a * a + b * b ; return value ; } int i; i = fun( 1, 2 ); // Here calling the function print( i );