is it giving an error at *nodeptr declaration?

On Tue, Aug 9, 2011 at 8:26 PM, programming love <
[email protected]> wrote:

>   #include<stdio.h>typedef struct {char * a;
> }*nodeptr;
> main(){nodeptr *h;h->a="programming";printf("hi %s\n", h->a);}
>
>
> this gives an error. Please explain the concept behind this.
>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Algorithm Geeks" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/algogeeks?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to