Thread: problem in declaring dyanamic arrays in c

  1. #1
    Registered User
    Join Date
    Sep 2009
    Location
    pakistan
    Posts
    3

    Unhappy problem in declaring dyanamic arrays in c

    hello friends i am new in programming field i am confused about declaring dynamic arrays in c and how can i pass a dynamic array to a function to proceed on it and can receive a value from it ............

    please help

  2. #2
    Registered User
    Join Date
    Oct 2008
    Location
    TX
    Posts
    2,059
    Dynamic storage allocation is done thro' the malloc() family of calls so read up on it. This site's faq has a nice article on dynamic storage allocation.

  3. #3
    Registered User
    Join Date
    Sep 2009
    Location
    pakistan
    Posts
    3

    Talking

    thanks buddy

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Large 2D Array's Problem
    By kas2002 in forum C Programming
    Replies: 4
    Last Post: 05-25-2009, 12:42 PM
  2. arrays - simple problem
    By ademkiv in forum C Programming
    Replies: 2
    Last Post: 03-02-2006, 09:55 PM
  3. Comparing Character Arrays problem...
    By newy100 in forum C++ Programming
    Replies: 4
    Last Post: 11-16-2003, 07:54 PM
  4. problem with arrays and structures
    By gell10 in forum C++ Programming
    Replies: 7
    Last Post: 11-03-2003, 12:02 AM
  5. Storing strings in 2d char arrays problem
    By rainmanddw in forum C++ Programming
    Replies: 5
    Last Post: 10-22-2003, 05:41 PM