|
![]() |
#1 |
Registered User
Join Date: Jun 2014
Location: United Kingdom
Posts: 120
|
What is Array in C?
Hello Friends,
Please tell me what is array in C.
__________________
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. |
![]() |
![]() |
![]() |
#2 |
Registered User
Join Date: Jul 2015
Posts: 260
|
Overview. An array is a collection of data items, all of the same type, accessed using a common name. A one-dimensional array is like a list; A two dimensional array is like a table; The C language places no limits on the number of dimensions in an array, though specific implementations may.
__________________
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. |
![]() |
![]() |
![]() |
#3 |
Registered User
Join Date: Sep 2016
Posts: 37
|
Arrays in C act to store related data under a single variable name with an index, also known as a subscript.
|
![]() |
![]() |
![]() |
#4 |
Registered User
Join Date: Apr 2016
Posts: 198
|
An array is a collection of data items, all of the same type, accessed using a common name. A one-dimensional array is like a list; A two dimensional array is like a table; The C language places no limits on the number of dimensions in an array, though specific implementations may.
Book Ad in Times of India | Newspaper Ad Agency in Delhi Last edited by kunalkumar; 03-15-2019 at 02:59 AM.. |
![]() |
![]() |
![]() |
#5 |
Registered User
Join Date: Oct 2016
Posts: 79
|
This is called a single-dimensional array. The array Size must be an integer constant greater than zero and type can be any valid C data type. For example, to declare a 10-element array called balance of type double, use this statement
__________________
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. |
![]() |
![]() |
![]() |
#6 |
Registered User
Join Date: Sep 2016
Posts: 617
|
An array is a collection of data items, all of the same type, accessed using a common name. A one-dimensional array is like a list; A two dimensional array is like a table; The C language places no limits on the number of dimensions in an array, though specific implementations may.
__________________
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. |
![]() |
![]() |
![]() |
#7 |
Registered User
Join Date: Dec 2016
Location: Perth, Western Australia
Posts: 7
|
Arrays a kind of data structure that can store a fixed-size sequential collection of elements of the same type. An array is used to store a collection of data, but it is often more useful to think of an array as a collection of variables of the same type.
__________________
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. |
![]() |
![]() |
![]() |
#8 |
Registered User
Join Date: Sep 2016
Posts: 617
|
An array is a collection of data items, all of the same type, accessed using a common name. A one-dimensional array is like a list; A two dimensional array is like a table; The C language places no limits on the number of dimensions in an array, though specific implementations may.
__________________
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. |
![]() |
![]() |
![]() |
#9 |
Registered User
Join Date: Jul 2016
Posts: 103
|
Thanks for sharing nice information...........
__________________
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. |
![]() |
![]() |
![]() |
#10 |
Registered User
Join Date: Feb 2017
Posts: 149
|
Array is type of data structure that can store a fixed size of sequential same type of data.
|
![]() |
![]() |
![]() |
#11 |
Registered User
Join Date: Jun 2016
Location: Delhi
Posts: 436
|
An array is a data structure that can hold multiple data values. For example [a,b,c,d]. Here it holds 4 values - a,b,c and d.
__________________
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. |
![]() |
![]() |
![]() |
#12 |
Registered User
Join Date: Feb 2017
Posts: 2
|
It makes the code look more beautiful and organised with less variable used. Modification, searching, traversing of data becomes very easier with this.
_____ code analysis tools c# |
![]() |
![]() |
![]() |
#13 |
Registered User
Join Date: Jul 2016
Location: Bangalore
Posts: 370
|
This is an process of collection variables belongs to same data type you can store the same data type in the array.
__________________
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. |
![]() |
![]() |
![]() |
#14 |
Registered User
Join Date: Jan 2017
Posts: 674
|
Array is a collection of many values of similar data types.
__________________
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. |
![]() |
![]() |
![]() |
#15 |
Registered User
Join Date: Mar 2017
Location: San Jose, California
Posts: 19
|
An array is collection of data that stores same type of values that includes, integers, string, and characters etc.
|
![]() |
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
What is Array in Java? | WellingtonSilva | Search Engine Optimization | 2 | 06-21-2016 09:36 PM |
UK Windows VPS - SSD Raid-10 array - 1GBPS Network - RDP - Bitcoin Accepted | AJKpeter | Post your ad here | 0 | 11-19-2014 01:43 AM |
ASP Array Question | mjvndhsb | ASP | 1 | 05-15-2014 03:27 AM |
Not allowing duplicate values to an array | mjvndhsb | Javascript | 3 | 03-11-2014 12:40 AM |
How to return an array in Web Service? | wryfhk22 | PHP / mySQL | 0 | 09-05-2011 01:14 AM |