This is very simple question!!! Give me excat reason???

Example: Why it is wrong....
int main()
{
int * ptr;
*ptr=10;
return 0;
}