C++ swapit() function | CIS126 | ECPI University

You should have a function called “swapIt()” that is passed two integers by address.  The function should define a third local variable.  Use the third variable as a intermediate variable and swap the values of both integers passed, sothat when control is returned to the calling function, the values are swapped.  

Please write out in word or notepad, or a snippet of the code itself (not the final product) please include correct punctuation semi colon, backslash etc. 

Leave a Reply

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

You may use these HTML tags and attributes:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>