C Programming - Sign Of An Integer
using Bitwise operators only....int num;
num >> (sizeof(int) * 8 - 1) /* -1 means negative */
Labels: C
About this entry
You’re currently reading “
- Published:
- 9:47 pm
- by -
0 Comments (Post a Comment)