Search:

Type: Posts; User: EuroDominus

Search: Search took 0.00 seconds.

  1. Replies
    17
    Views
    9,160

    int_to_binary(x) returns the address of the first...

    int_to_binary(x) returns the address of the first element of array b, the array's address is a long integer so you can't use it in printf with "%s".
    Try: printf("%s\n", *(int_to_binary(x))
  2. You still have to fix line's 15 "if" statement as...

    You still have to fix line's 15 "if" statement as oogabooga has indicated above.
Results 1 to 2 of 2