shudn't this piece of code give me a null pointer exception?it ran
without any exception and printed 0.not even after the program has
finished execution.Under what circumstances can this happen?  am i
just missing something?


#include<stdio.h>
int main()
{
        int *p=NULL;
        printf("%d",*p);
        return 0;
}

Regards
Shreya

Reply via email to