It's the solution of the exercise given in the book. I get these errors:
- subscript requires array or pointer type
- error C2056: illegal expression
- error C2466: cannot allocate an array of constant size 0
- error C2143: syntax error: missing ']' before '='
- warning C4047: 'initializing': 'int' differs in levels of indirection from 'char [5]'
- warning C4047: 'initializing': 'int' differs in levels of indirection from 'char [4]'
- warning C4047: 'initializing': 'int' differs in levels of indirection from 'char [6]'
- arning C4477: 'printf' : format string '%s' requires an argument of type 'char *', but variadic argument 1 has type 'int'
line 5: missing closing bracket, it should be char digits[10][10] = //...
conio.h is not standard.
By the way, the error message should point you to the line causing the error, don't remove that information from your post. If it just happen that your IDE or compiler omits them, then consider to change them.