/in/foo.c: In function 'main':
/in/foo.c:12:5: error: 'i' undeclared (first use in this function)
for(i=0;i<n2;i++)
^
/in/foo.c:12:5: note: each undeclared identifier is reported only once for each function it appears in
/in/foo.c: In function 'Setlnter':
/in/foo.c:28:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
if(c1[i]=c2[j])
^~
/in/foo.c:39:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
if(c1[i]=c2[j])
^~
/in/foo.c:45:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^