Hi

On 9 August 2011 20:26, programming love <love.for.programm...@gmail.com>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 have used typedef incorrectly

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



-- 
Regards
Siddharth Srivastava

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

Reply via email to