MCPcopy Create free account
hub / github.com/TheAlgorithms/C / print_int_value

Function print_int_value

developer_tools/min_printf.h:158–193  ·  view source on GitHub ↗

* @details * The algorithm here is to first convert the number into * string and then reverse it be passing it to reverse_str function * and then printing on the screen * @param n Number to be printed * @param width Total characters to be printed (Prints ' ' if (size < width) * @param precision Total character of number to be printed (prints 0 before number if size of number < precision) *

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

print_double_valueFunction · 0.85
min_printfFunction · 0.85

Calls 2

reverse_strFunction · 0.85
put_charFunction · 0.85

Tested by

no test coverage detected