Writing FreeDOS programs in C (advanced topics) [bonus video]

preview_player
Показать описание
This is a bonus video in the "Writing FreeDOS programs in C" series. I wanted to cover a few other shorthands in C programming: the inline "if" test, and how to rewrite the isodd() function to use a binary AND.

This is part of the "Writing FreeDOS programs in C" series

Join us on Facebook

Follow us on Twitter

Consider supporting me on Patreon
Рекомендации по теме
Комментарии
Автор

I actually expected isodd.c to be rewritten with the ternary operator all over the place. :) That was a really nice way to determine if a number is odd or not. :)

kneekoo