112. Print binary of float using integer pointer. Get link Facebook X Pinterest Email Other Apps #include<stdio.h> float f=23.5; int *ip,i; void main() { ip=(int *)&f; for(i=31;i>=0;i--) printf("%d",*ip>>i&1); } Get link Facebook X Pinterest Email Other Apps Comments
Comments
Post a Comment