char a[20]; - allocates 20 bytes and a can't be incremented
>char *a; - allocates only 4 bytes for the addr and a can be incremented


On Fri, 17 Dec 2004 mohd abdul hafeez wrote :
>hi
>
>char a[20];
>char *a;
>what is the major difference between these two.......
>how the memory is allocated when we declare char* a;
>and is there any dis advantage of using the second method..if so what....
>
>if any body knows the answer plz....reply my mail
>
>Yahoo! India Matrimony: Find your life partneronline.





To unsubscribe : [EMAIL PROTECTED]




Yahoo! Groups Sponsor
ADVERTISEMENT
click here
Web Bug from http://us.adserver.yahoo.com/l?M=295196.4901138.6071305.3001176/D=groups/S=:HM/A=2128215/rand=744392394


Yahoo! Groups Links

Reply via email to