Write a function subx that takes two dword parameters A and
Write a function subx that takes two dword parameters A and B from stack, calculates A-B and returns the result through stack.
Solution
Stack st=new Stack();
subx(st.pop(),st.pop()); //function call
static void subx(int a,int b) //function definition
{
st.push(new Integer(a-b));
}

