--- In [email protected], Jim Dougherty <[EMAIL PROTECTED]> wrote: > > > > [email protected] wrote: > > #include <stdio.h> > > > > int add (int x, int y) { > > int z; > > z = x + y; > > return (z); > > } > > main () > > { > > int i, j, k; > > i = 10; > > j = 20; > > k = add(i, j); > > printf ("The value of k is %d\n", k); > > } > > how do you change the above code to the following > > > > + (2, 6) > > - ( 2, 6) > > > > I am not sure what you are looking for.
I think he is looking for operator overloading in "C" in some form. Which I am aware of is possible in C++, not in "C". Correct me if I am wrong! ~Saurabh
