Using Pointers to Exchange Values Program 10.9 // More on pointers and functions #include <stdio.h> void exchange (int const pintl, int + ( const pi int temp temp pintl; pintl*pint2; pint2 tempi int main (void) void exchange (int * const pintl, int const pint2) printf (“11 %1, %ìn”, i2 i1, i2); = exchange (p1, p2); printf (“l1 = %ì, i2 = %iln”, i1, i2); exchange (&i1, &i2); return 0 Program
OR
OR