|Since you'll need the name of a feature before you can search on it, you're looking at bit fields. |
As for why you're getting the output you're getting, it involves binary math. The digit after the colon is the size of the variable. "p" is 3 bits, "c" is 3 bits, and "m" is 2 bits. I assume your notes include how to convert decimal to binary, so reference that and write out 2, -6, and 5 in binary.
How To Ask Questions The Smart Way