tl  tr
  Home | Tutorials | Articles | Videos | Products | Tools | Search
Interviews | Open Source | Tag Cloud | Follow Us | Bookmark | Contact   
 C Language > Basic > Swap using Macros

Swap using Macros 

This example shows swapping two numbers using macros.

File Name  :  
source/C/basic/swap.c 
Author  :  Sudhakar KV
Email  :  [email protected]

It gives the following output,
x:8  y:2
inside swap x:2  y:8
x:8  y:2



 
  


  
bl  br