Compiler output
prog.cpp: In function 'int main()':
prog.cpp:23:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0;j<strlen(tr);j++)
^
prog.cpp:25:38: warning: NULL used in arithmetic [-Wpointer-arith]
if(alf[tr[j]-97][h]!=NULL)cr[p++]=alf[tr[j]-97][h];
^
prog.cpp:40:36: warning: converting to non-pointer type 'char' from NULL [-Wconversion-null]
v[L][j]=cr[j],cr[j]=NULL;
^
prog.cpp:44:22: warning: converting to non-pointer type 'char' from NULL [-Wconversion-null]
cr[j]=NULL;
^