Page 1 of 2 12 LastLast
Results 1 to 12 of 13

Thread: array ko kasay use kia jata hy

  1. #1
    nooni is offline Junior Member
    Last Online
    4th September 2009 @ 02:14 PM
    Join Date
    24 Apr 2009
    Posts
    3
    Threads
    2
    Credits
    233
    Thanked
    0

    Red face array ko kasay use kia jata hy

    ap kia bata sakkty hian

  2. #2
    ranjha1's Avatar
    ranjha1 is offline Senior Member+
    Last Online
    23rd April 2013 @ 10:09 AM
    Join Date
    26 Jun 2009
    Location
    Karachi
    Age
    34
    Posts
    299
    Threads
    22
    Credits
    0
    Thanked
    6

    Default

    jani array ko kuch save karny k liye use karty hain

  3. #3
    bitguider's Avatar
    bitguider is offline Junior Member
    Last Online
    30th July 2010 @ 01:04 PM
    Join Date
    29 Jul 2010
    Location
    islamabad
    Age
    34
    Gender
    Male
    Posts
    4
    Threads
    0
    Credits
    945
    Thanked
    0

    Default

    array is just a structure to store data in order...
    array always start form 0 indx...you may say that array is consecutive memory allocation.

  4. #4
    bitguider's Avatar
    bitguider is offline Junior Member
    Last Online
    30th July 2010 @ 01:04 PM
    Join Date
    29 Jul 2010
    Location
    islamabad
    Age
    34
    Gender
    Male
    Posts
    4
    Threads
    0
    Credits
    945
    Thanked
    0

    Default

    also array is arithmetic base/can b filled or displayed by loop bcz of consecutive memory

  5. #5
    n0mi_89 is offline Junior Member
    Last Online
    6th August 2010 @ 01:53 AM
    Join Date
    05 May 2009
    Age
    34
    Posts
    20
    Threads
    4
    Credits
    945
    Thanked
    0

    Default

    array is a series of consecutive memory locations with same data type.
    eg:
    int array[10];
    this statement will make 10 memory locations of type int in the memory,and these memory locations can be accessed through the index number which is from 0 to 9 in this case.data is usually input by usin a loop.

  6. #6
    Shining Star's Avatar
    Shining Star is offline Senior Member+
    Last Online
    25th November 2011 @ 10:38 PM
    Join Date
    02 Dec 2010
    Gender
    Male
    Posts
    201
    Threads
    2
    Credits
    0
    Thanked
    2

    Default

    nice wrk

  7. #7
    planket is offline Senior Member+
    Last Online
    24th January 2014 @ 11:38 AM
    Join Date
    20 May 2010
    Location
    In Your HDD
    Age
    32
    Gender
    Male
    Posts
    207
    Threads
    72
    Credits
    0
    Thanked
    14

    Default

    1)Array ko hum data store karne k liy use karte hain.
    2) iss se data ko search karna eassy hota hai.

  8. #8
    alims is offline Junior Member
    Last Online
    16th October 2012 @ 11:38 PM
    Join Date
    25 Jul 2009
    Posts
    20
    Threads
    3
    Credits
    0
    Thanked
    0

    Default using of arrays

    dear arrays ko data stroing k lye use kya jata hai lekin jb hum ne 2dimensional work karna hoo tou array is the best one to work with............

    jb hum koi table mein kaaam karna chahe tou hum arrays ko use karte hain ....

  9. #9
    thecute is offline Senior Member+
    Last Online
    28th June 2015 @ 01:00 PM
    Join Date
    27 Jul 2008
    Age
    34
    Posts
    292
    Threads
    73
    Credits
    0
    Thanked: 1

    Default

    for ,do-while,while, sab ma jab hum ne koi loop chalani hoti thi to us ma seraf ya result display karta tha and next result ane par pechla wala khatam ho jata tha ..jab bi hum koi esay program ki zararut pesh ati jis ma hum data index position par store karay or jab marzi chahe use dakh sakay..is maksad k liye array use hoti hay..

  10. #10
    kiramat is offline Junior Member
    Last Online
    1st March 2011 @ 11:41 AM
    Join Date
    18 Feb 2011
    Age
    34
    Gender
    Male
    Posts
    2
    Threads
    0
    Credits
    0
    Thanked
    0

    Default

    esmay programe ki language mai kio help nahe ki gaye kio keh raha hia k storing k liay array use hothe hia kio kuch kio kuch.tho dears thora profetional type k ans,s do na tha k hamay help milay.plz mind math krna.

  11. #11
    sirphira is offline Junior Member
    Last Online
    25th February 2011 @ 06:32 AM
    Join Date
    25 Feb 2011
    Gender
    Male
    Posts
    3
    Threads
    0
    Credits
    0
    Thanked
    0

    Default

    variable and array both use for store data.

    it is very difficult to store ages of 1000 people in variables.

    but simple in array:
    int age[1000];

  12. #12
    alims is offline Junior Member
    Last Online
    16th October 2012 @ 11:38 PM
    Join Date
    25 Jul 2009
    Posts
    20
    Threads
    3
    Credits
    0
    Thanked
    0

    Default arras

    Quote nooni said: View Post
    ap kia bata sakkty hian
    yeh raha apka jawab......


    dear array ko hum sequence ye serilization k lye istemal karte hain..
    suppose ap aek school mein jate hain, ap ko aik admission form fill karne k lye diya jata hai, wesa hi admission form kisi dosray student ko dya jata hai, tou ab en k darmyan faraq kaha se karna hai k konsa form kis student ka hai? ab agar har form us student k nam se rakha jaye ga to data zyada ho jaye ga. lekin agar us ko serialize kar dya jaye like form1,form2,form3...so on..
    tou hum es se jaldi search kar len ge.. kyon k humne har admisison form ko aik number laga kar student ko de dya hai.....
    this is the us of array


    void main()
    {
    int a(10);//creates 11 object like a(0),a(1)......a(10)
    a(0) = 1;
    a(1) = 2;
    a(2) = 3;
    a(3) = 4;
    a(9) = 5;
    a(5) = 6;
    a(6) = 7;
    a(7) = 8;
    a(8) = 9;
    a(9) = 10;
    a(10) = 11;

    cout<<a(0);
    cout<<a(1);
    cout<<a(2);
    cout<<a(3);
    cout<<a(4);
    cout<<a(5);
    cout<<a(6);
    cout<<a(7);
    cout<<a(8);
    cout<<a(9);
    cout<<a(10);

    return true;
    }

Page 1 of 2 12 LastLast

Similar Threads

  1. Creating an array at runtime
    By ithoun in forum C++
    Replies: 7
    Last Post: 17th October 2014, 01:08 AM
  2. Android GrideView 2d Array using Array Adaptor
    By khalliqie in forum Ask an Expert
    Replies: 3
    Last Post: 15th September 2014, 11:17 PM
  3. Solved 5 5 5 5=30 kasay
    By muzmal hussain in forum Contest Section
    Replies: 22
    Last Post: 24th January 2011, 05:58 AM
  4. Replies: 6
    Last Post: 13th October 2008, 10:15 PM

Bookmarks

Posting Permissions

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