Binary to decimal program question...
Posted on 2003-10-25
I'm working on a program to convert decimal to binary but I don't understand so well the part under the main and why an error occurs in the line for(res=7;;) could anyone explain me this? Please, thanks.
This is the program:
binary(int num, int arr)
int base=2, temp, i=7;