A. write a function in C language only named swap that will interchange the values of two integers variables. for example, suppose your program declares the following variables in main :

int x = 33, y = 55;

after calling your swap function, the value of x should be 55 and the value of y should be 33.

B. Write the statement that would call swap to interchange x and y.

Source link

Leave a Reply

Your email address will not be published. Required fields are marked *