渡された2つのバイト値(char型変数)を入れ替えるswap_2bytesのWindows版。
main.cで、
と書く。
![こうなる。](https://cdn-ak.f.st-hatena.com/images/fotolife/B/BG1/20240418/20240418121736.png)
こうなる。
Test/c/swap_2bytes/Windows/src/swap_2bytes at master · bg1bgst333/Test · GitHub
渡された2つのバイト値(char型変数)を入れ替えるswap_2bytesのWindows版。
main.cで、
と書く。
こうなる。
Test/c/swap_2bytes/Windows/src/swap_2bytes at master · bg1bgst333/Test · GitHub