# C++ doubt

**URL:** <https://forum.kirupa.com/t/c-doubt/225220>\
**Category:** Uncategorized\
**Created:** [May 9, 2007, 7:37pm UTC](https://forum.kirupa.com/t/c-doubt/225220 "2007-05-09T19:37:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![netrix](https://avatars.discourse-cdn.com/v4/letter/n/f0a364/32.png) [@netrix](https://forum.kirupa.com/u/netrix)\
**Post date:** [May 9, 2007, 7:37pm UTC](https://forum.kirupa.com/t/c-doubt/225220/1 "2007-05-09T19:37:05Z")

</div>

Hello guys, I need to learn a few basics about C++ for friday… can anyone tell me what does this C++ macro accomplish: #define func(a, b) a ^= b ^= a ^= b?! thanks in advance!
