her's two piece of Code
1.
{
int a=7,b=0,c;
c=a/b;
}
this code give's a error at run time divide by zero
2.
int c;
c=7/0;
printf("%d",c);
this code gives a compile time warning divide by zero
but at run-time No Warning
also c containc 7
can someone explain me wht the hell is happing here
thanx in advance