Texinterest
Sign in
x
Texinterest
Empower your learning
About Us
Privacy Policy
Forum Discussions
C Programming
Subjects
Science
Computer
Programming
English
General Knowledge
Rennaissance
Courses
Exams
Interviews
Add Notes
Contact us
Menu
Science
Computer
Programming
English
General Knowledge
Rennaissance
Arrays in C Programming
Array refers to a named list of a finite number of similar data elements.
An array is a collection of the same type of data referenced by a common name.
It is a collection of contiguous memory locations referenced by a common name.
An array is a sequence of the data items of homogeneous value(same type).
Each of the data elements can be referred by a set of consecutive numbers, usually 0, 1, 2, 3, 4, ………,n.
Examples
Percentage mark of 100 students.
The number of chairs in a home.
Ages of 25 students.
Types of Array
One dimensional array
Two-dimensional arrays (Multidimensional arrays).
One dimensional array
It is the simplest form of an array that can store a linear set of values with one subscript or one index.
Syntax
DATATYPE ARRAYNAME[SIZE];
Top Questions
How to create and load view in codigniter?
Algorithm | Algorithm Design Techniques
Differentiate between require() and include() function in PHP?
What are Arrays in PHP?
Class in C++
What is PHP?
explode and implode function in PHP
How to Get current version of PHP?
Iteration Statements (Loop Statements)
Understanding the Attributes in HTML
Constructors in C++
What is codigniter
HTML5 Application Development
What Can PHP Do?
Functions in PHP
What are sessions in PHP?
PHP Arrays
Structures in C
DO WHILE LOOP In C Programming
The differences between static and dynamic websites?
Tex AI Assistant
Online & ready to help
×
Hi! 👋 I'm your Texinterest AI assistant.
Ask me anything about programming, interview prep, courses, or any topic you're studying.
Press Enter to send · Powered by Gemini AI