By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,986 Members | 2,042 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,986 IT Pros & Developers. It's quick & easy.

Nibbles replacement

P: 1
I need explanation how to do replacement between high and lower nibble in C?

So, If I have for an example: higher nibble 1010
lower nibble 0010
10100010

How to get 00101010?
Feb 8 '16 #1
Share this Question
Share on Google+
1 Reply


Expert 100+
P: 2,396
Take a look at the shift and bitwise operators.
Feb 8 '16 #2

Post your reply

Sign in to post your reply or Sign up for a free account.