it could give no error or will give syntax error.
for eg: if you want to call wow(int a); and instead call while(int a); then it will give no compiler error
but if you want to call fro(int a); and instead call for(int a); then it will give syntax error.