I\'m trying to write a basic practice with C, working with Binary and Hex. I made a method to print the multiples of 2 (powers of 2) and a separate method to print out the Hex f
You're trying to use (call) printhex before you declare it. Either forward declare it by saying void printhex (unsigned int u) or void printhex (unsigned int) or move the definition, to before print2.