|
|
|
|
void main()
is illegal (use int main()
)display()
before you try to call it in main()
display()
takes an int*
as its first parameter, but you are passing it an int (*)[4]
code 1 ran fine on codeblocks with some warnings.. |
|
|
|
|
|
|
|
|
1 2 3 4 5 6 7 8 9 0 1 6 Exit code: 0 (normal program termination) |