prog.c: In function 'main':
prog.c:14:1: error: 'temp' undeclared (first use in this function)
temp=poker[i];
^
prog.c:14:1: note: each undeclared identifier is reported only once for each function it appears in
prog.c:14:6: error: 'poker' undeclared (first use in this function)
temp=poker[i];
^
prog.c:21:1: warning: implicit declaration of function 'print' [-Wimplicit-function-declaration]
print(player[i][j]);
^
prog.c:22:1: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
printf("\n");
^
prog.c:22:1: warning: incompatible implicit declaration of built-in function 'printf'
prog.c:22:1: note: include '<stdio.h>' or provide a declaration of 'printf'
prog.c:8:6: warning: unused variable 'rank' [-Wunused-variable]
char rank[13]={'A','2','3','4','5','6','7','8','9','T','J','Q','K'};
^
prog.c:7:6: warning: unused variable 'suit' [-Wunused-variable]
char suit[4]={'S','H','D','C'};
^
prog.c:6:9: warning: variable 'a' set but not used [-Wunused-but-set-variable]
int i,j,a[52],player[4][13];
^