Array
why there is a need of Array ?
- Till now we have worked with datatypes like int,float ,which stores only single data at a time.
- But, in a real life problem you will have to face large number of data at a time.
eg: to store marks of 100 students. - This, thing you can't do with data types like int ,float, etc.
- For, that 'C' language provides with data structure called Array.
1D ARRAY |
What is Array?
- Array is collection of data ,which belongs to same data type.
- If you have integer type of data then you have to go with int type of Array, if you have float type of data then you have to go with Array of float type and so on.
- Because Array stores the data of same data type.
- Data in Array is store in one sequence, which means one next to the another.
- This functionality of storing data sequentialy, Accessing data becomes very easy.
- In Array each element has a unique index number which starts from 0.
- See the below image ,to Understand array more better.
- Types of Array
below is image of int type of Array
Further Concepts:
- How to declare array ?
- how to Initialize an array?
- What is One Dimensional Array
- Concept of One Dimensional Array
- Concept of Initializing One Dimensional Array
- How to take array elements as input from the User
- What is Two Dimensional Array ?
- Concept of Two Dimensional Array
- How to initialize Two Dimensional Array?
- How to take Elements of Two dimensional array from the User?
- How to display 2D Array As an Table?
- Practice Program Regarding Arrays
Practice Programs
- Programs regarding Arrays
- Programs Regarding 2d arrays
- Programs regarding matrix
- And lot more
Further Topics:
- Strings In C
- What are Strings
- Concept of strings
- Input And Output Functions
- How to take strings As Input
- What is gets() functions
- What is puts() functions
- 2D Strings
- Concept of 2D Strings
- What is Character array
- what are various string handling functions
- Functions for Characters
- Functions from #include<string.h> Header File
- what are strcpy(), strcmp(), strncmp(), strcmpi(),etc
- strcmp() VS strncmp() VS strcmpi()
- Functions from #include<ctype.h> Header File
- what are isdigit(), islower() , isupper(),etc
- Various Practice Programs on strings
0 Comments
Post a Comment