0_0_17799016_24311.cpp: In function 'void fun(int, int)':
0_0_17799016_24311.cpp:35:16: error: 'a' was not declared in this scope
printf("%d",a[i][0]);
^
0_0_17799016_24311.cpp: At global scope:
0_0_17799016_24311.cpp:97:15: error: redefinition of 'int arr [10][10]'
int arr[10][10];
^
0_0_17799016_24311.cpp:3:5: note: 'int arr [10][10]' previously declared here
int arr[10][10];
^
0_0_17799016_24311.cpp:98:5: error: redefinition of 'int flag'
int flag=0;
^
0_0_17799016_24311.cpp:4:5: note: 'int flag' previously defined here
int flag=0;
^
0_0_17799016_24311.cpp: In function 'bool check(int, int, int)':
0_0_17799016_24311.cpp:99:6: error: redefinition of 'bool check(int, int, int)'
bool check(int num, int x, int y)
^
0_0_17799016_24311.cpp:5:6: note: 'bool check(int, int, int)' previously defined here
bool check(int num, int x, int y)
^
0_0_17799016_24311.cpp: In function 'void fun(int, int)':
0_0_17799016_24311.cpp:118:6: error: redefinition of 'void fun(int, int)'
void fun(int x, int y)
^
0_0_17799016_24311.cpp:24:6: note: 'void fun(int, int)' previously defined here
void fun(int x, int y)
^
0_0_17799016_24311.cpp:129:16: error: 'a' was not declared in this scope
printf("%d",a[i][0]);
^
0_0_17799016_24311.cpp: In function 'int main()':
0_0_17799016_24311.cpp:161:5: error: redefinition of 'int main()'
int main()
^
0_0_17799016_24311.cpp:67:5: note: 'int main()' previously defined here
int main()
^
|