C++ Variables – Example codes

here is an interesting problem. here, we are not using loops or if conditions.

Solution :

Swapping of 2 numbers

Very interesting problem :