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 | |
|
|
Yahoo! Groups Links
- To reply to this message, go to:
http://groups.yahoo.com/group/Programmers-Town/post?act=reply&messageNum=4598
Please do not reply to this message via email. (more info)
- To visit your group on the web, go to:
http://groups.yahoo.com/group/Programmers-Town/
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
