In this program we have declared two variables a And b with dataType int also we have store 50 and 40 values to this variable respectively. we have to swap the value os these variable. it is easy to swap two numbers with third variable but in this program we have to swap two numbers without third variable, it is also simple but you have to remember little algorithm for this program
int: An int variable is used to store an integer.
// : it is for comment. Comments provide clarity to the C source code allowing others to better understand. in large projects containing a lot of lines of source code or in projects in which many contributors are working on the source code. Comments are ignored by the compiler
0 Comments