Question 20.11

Can I use base-2 constants (something like 0b101010)?
Is there a printf format for binary?


No, on both counts. You can convert base-2 string representations to integers with strtol.


Read sequentially: prev next up top


This page by Steve Summit // Copyright 1995 // mail feedback