Write a code to increment an array of digits (0 to 9)

Write a code to increment an array of digits (0 to 9)