Upgrade & Secure Your Future with DevOps, SRE, DevSecOps, MLOps!

We spend hours scrolling social media and waste money on things we forget, but won’t spend 30 minutes a day earning certifications that can change our lives.
Master in DevOps, SRE, DevSecOps & MLOps by DevOpsSchool!

Learn from Guru Rajesh Kumar and double your salary in just one year.


Get Started Now!

Complete Tutorial of Arrays

What is Array?

Arrays. - ppt download

Arrays are collections of data elements with a common name. Arrays provide a framework for defining and accessing several data elements with a single identity, making data administration easier.

When dealing with several data elements, we use array.

How many types of Array?

  • Numeric/Indexed Array:- In this array index will be represented by a number. By default numeric array index start from 0.
    Example:- $num [0] = “ScmGalaxy”;
  • Associative Array:- In this Array index/key will be represented by a string.
    Example:- $fees [“ScmGalaxy”] = 500;
  • Multidimensional Array:- Arrays of Arrays is known as multidimensional arrays.
    Example:- $num [0] [0] = 25;

Some Array Operators are :-

Ashwani Kumar
Latest posts by Ashwani Kumar (see all)
0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x