From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,c47ddb0bc6054f84 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-10-06 17:41:36 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!newspeer1.nac.net!news.stealth.net!news.stealth.net!ngpeer.news.aol.com!cyclone1.gnilink.net!wn11feed!worldnet.att.net!204.127.198.203!attbi_feed3!attbi.com!sccrnsc01.POSTED!not-for-mail From: tmoran@acm.org Newsgroups: comp.lang.ada Subject: Re; Question about pointer References: X-Newsreader: Tom's custom newsreader Message-ID: <2L4o9.65474$DN4.9243@sccrnsc01> NNTP-Posting-Host: 12.234.13.56 X-Complaints-To: abuse@attbi.com X-Trace: sccrnsc01 1033951294 12.234.13.56 (Mon, 07 Oct 2002 00:41:34 GMT) NNTP-Posting-Date: Mon, 07 Oct 2002 00:41:34 GMT Organization: AT&T Broadband Date: Mon, 07 Oct 2002 00:41:35 GMT Xref: archiver1.google.com comp.lang.ada:29549 Date: 2002-10-07T00:41:35+00:00 List-Id: > But, right now, i don't know what is the advantage of utilisation of > pointer in a program There are more than a few ways pointers are useful. Just two are: Dynamically allocating memory for objects of varying size and lifetime. Linking related objects so that a procedure given one can access the other. You really need a good book on programming (and probably more than one) to see some of the uses, and problems, of pointers.