New course! Every coder should learn Generative AI!
Try a free lesson+ 5
how to creat a program to convert desimal to binairy number?
with any language that you want
1 Answer
+ 5
C :
void p(long long i){
unsigned long long b = 1;
while(i >> ++b);
while(--b)
putchar(((i >> b) & 1) + '0');
}