luhn_code_test


luhn_code_test, a C code which calls luhn_code(), which demonstrates the calculation and use of the Luhn check digit for error detection.

Licensing:

The information on this web page is distributed under the MIT license.

Related Data and Programs:

luhn_code, a C code which computes the Luhn check digit for a string, and validates a string.

Source Code:


Last revised on 01 June 2026.