+ Reply to Thread
Results 1 to 4 of 4

Thread: Pointers advatages& dis-advantages

  1. #1
    Member
    Join Date
    Nov 2006
    Posts
    43
    Rep Power
    7

    Pointers advatages& dis-advantages

    Hi,

    can any one answer the following question.

    What are the advantages and dis advantages of pointers?



    Thanks in Advance........

  2. #2
    Senior Member
    Join Date
    Dec 2006
    Posts
    685
    Rep Power
    15

    Re: Pointers advatages& dis-advantages

    The main advantages of using pointers are
    1.) Function cannot return more than one value. But when the same function can modify many pointer variables and function as if it is returning more than one variable.
    2.) In the case of arrays, we can decide the size of th array at runtime by allocating the necessary space.

    Coming to the disadvantages of pointers
    1.) If sufficient memory is not available during runtime for the storage of pointers, the program may crash (least possible)


    Regards,
    Abeetha.M

  3. #3
    Member
    Join Date
    Nov 2006
    Posts
    43
    Rep Power
    7

    Re: Pointers advatages& dis-advantages

    friends any more ideas.....

  4. #4
    Senior Member
    Join Date
    Aug 2006
    Location
    Hyderabad,India
    Age
    34
    Posts
    6,052
    Rep Power
    115

    Re: Pointers advatages& dis-advantages

    thanks

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Advantages Of Kissing
    By wizkid in forum FRIENDSHIP & LOVE
    Replies: 2
    Last Post: 09-12-08, 11:38 PM
  2. why java doesn’t support pointers ?
    By tskumar83 in forum JAVA Technologies
    Replies: 8
    Last Post: 03-07-06, 05:24 PM
  3. pointers in java
    By ponnu_cv in forum JAVA Technologies
    Replies: 1
    Last Post: 29-04-06, 09:43 AM
  4. C Pointers : Daily FAQ
    By praveen sharma in forum DATA STRUCTURES, C, C++, VC ++
    Replies: 2
    Last Post: 28-03-06, 01:00 AM
  5. Why we don't have pointers in java?
    By naga in forum JAVA Technologies
    Replies: 2
    Last Post: 14-02-06, 09:53 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Content Relevant URLs by vBSEO 3.5.1 PL1