#include<stdio.h> void main() { int b[100]; int a=10; do { b[i]=a%2; c=a/2; a=c; } while(a>=2) len=strlen(b); printf("%d",b[i]); getch(); }
int b[100]; int len=sizeof(b)/sizeof(b[0]);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)