Results 1 to 6 of 6

Thread: Jagged Array ?

  1. #1
    Islamic Astrology
    Join Date
    Jan 2019
    Location
    Jaipur
    Posts
    28

    Jagged Array ?

    Hello Dear,

    Please Tell Me What is a Jagged Array ?

  2. #2
    Registered
    Join Date
    Oct 2018
    Posts
    38
    A jagged array is an array whose elements are arrays. The elements of a jagged array can be of different dimensions and sizes. A jagged array is sometimes called an "array of arrays." The following examples show how to declare, initialize, and access jagged arrays

    Astrologer | Psychic Reader Toronto | Best Toronto Psychic

  3. #3
    Registered
    Join Date
    Jul 2019
    Posts
    29
    A jagged array is an array of arrays such that member arrays can be of different sizes, i.e., we can create 2-D arrays but with the variable number of columns in each row. These types of arrays are also known as Jagged arrays.

  4. #4
    Registered
    Join Date
    Sep 2019
    Posts
    15

    Havelock Island

    Havelock Island is a beautiful place to visit. It should be a must on your list. Andaman has Turquoise beaches, live corals and much more to offer.

  5. #5
    Junior Registered
    Join Date
    Nov 2019
    Posts
    1
    Jagged thread is also known as ragged array. It is an array of arrays in which the member arrays can be of different dimennsions and producing rows of jagged edges when visualized as output.

  6. #6
    Registered
    Join Date
    May 2020
    Posts
    64
    I would like to explain to you what Jagged Array is using an example.
    The following is a declaration of a single-dimensional array that has three elements, each of which is a single-dimensional array of integers:

    C#

    Copy
    int[][] jaggedArray = new int[3][];
    Before you can use jaggedArray, its elements must be initialized. You can initialize the elements like this:

    C#

    Copy
    jaggedArray[0] = new int[5];
    jaggedArray[1] = new int[4];
    jaggedArray[2] = new int[2];
    Each of the elements is a single-dimensional array of integers. The first element is an array of 5 integers, the second is an array of 4 integers, and the third is an array of 2 integers.

Similar Threads

  1. integer array sorted in place using the quicksort algorithm ?
    By Joyadelfin in forum Website Programming & Databases
    Replies: 0
    Last Post: 04-27-2019, 03:00 AM
  2. duplicate elements in an array ?
    By astrologyforlove in forum Website Programming & Databases
    Replies: 0
    Last Post: 03-13-2019, 03:07 AM
  3. Replies: 0
    Last Post: 11-27-2014, 01:22 AM
  4. Dynamically replace Array content.
    By shakemelikeapig in forum Website Programming & Databases
    Replies: 0
    Last Post: 03-16-2012, 11:48 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
  •