Posts by Lucas • 11 points
1 post
-
1
votes1
answer1288
viewsQ: I want to make a decimal to binary converter without using itoa() or vectors in C
My code works up to a point. When I provide values above 1023 for num, the program goes wrong, below 1023 the program works perfectly. Someone knows what can be? #include <stdio.h> #include…