Is it possible to write a macro that can swap two variables of any given type, in c?
Question Is not Correct
There is no portable and straightforward way to write a macro that can swap two values. Complication might arise when we pass values of different types.
Back To Top