Submit Search
Upload
Array
•
2 likes
•
298 views
S
Sakib Shahriar
Follow
programming in c,introduction of array,one dimensional array
Read less
Read more
Education
Report
Share
Report
Share
1 of 11
Download now
Download to read offline
Recommended
String Builder & String Buffer (Java Programming)
String Builder & String Buffer (Java Programming)
Anwar Hasan Shuvo
Arrays in c
Arrays in c
vampugani
Arrays in Java
Arrays in Java
Naz Abdalla
Python tuple
Python tuple
Mohammed Sikander
Array Introduction One-dimensional array Multidimensional array
Array Introduction One-dimensional array Multidimensional array
imtiazalijoono
Java Streams
Java Streams
M Vishnuvardhan Reddy
Data Structures in Python
Data Structures in Python
Devashish Kumar
Datatypes in python
Datatypes in python
eShikshak
Recommended
String Builder & String Buffer (Java Programming)
String Builder & String Buffer (Java Programming)
Anwar Hasan Shuvo
Arrays in c
Arrays in c
vampugani
Arrays in Java
Arrays in Java
Naz Abdalla
Python tuple
Python tuple
Mohammed Sikander
Array Introduction One-dimensional array Multidimensional array
Array Introduction One-dimensional array Multidimensional array
imtiazalijoono
Java Streams
Java Streams
M Vishnuvardhan Reddy
Data Structures in Python
Data Structures in Python
Devashish Kumar
Datatypes in python
Datatypes in python
eShikshak
Strings
Strings
Mitali Chugh
Presentation on array
Presentation on array
topu93
Python Data-Types
Python Data-Types
Akhil Kaushik
Array operations
Array operations
ZAFAR444
Classes, objects in JAVA
Classes, objects in JAVA
Abhilash Nair
String, string builder, string buffer
String, string builder, string buffer
SSN College of Engineering, Kalavakkam
Arrays
Arrays
SARITHA REDDY
Abstract Data Types
Abstract Data Types
karthikeyanC40
Control statements in c
Control statements in c
Sathish Narayanan
Array in c language
Array in c language
home
Array Of Pointers
Array Of Pointers
Sharad Dubey
Packages in java
Packages in java
Elizabeth alexander
Python : Data Types
Python : Data Types
Emertxe Information Technologies Pvt Ltd
String function in my sql
String function in my sql
knowledgemart
Data types in python
Data types in python
RaginiJain21
Strings in C
Strings in C
Kamal Acharya
Array Presentation (EngineerBaBu.com)
Array Presentation (EngineerBaBu.com)
EngineerBabu
Basic data types in python
Basic data types in python
sunilchute1
Union In language C
Union In language C
Ravi Singh
Union in C programming
Union in C programming
Kamal Acharya
C Programming Language Part 8
C Programming Language Part 8
Rumman Ansari
data_structure (1).pptx
data_structure (1).pptx
nascramaprabhacs1
More Related Content
What's hot
Strings
Strings
Mitali Chugh
Presentation on array
Presentation on array
topu93
Python Data-Types
Python Data-Types
Akhil Kaushik
Array operations
Array operations
ZAFAR444
Classes, objects in JAVA
Classes, objects in JAVA
Abhilash Nair
String, string builder, string buffer
String, string builder, string buffer
SSN College of Engineering, Kalavakkam
Arrays
Arrays
SARITHA REDDY
Abstract Data Types
Abstract Data Types
karthikeyanC40
Control statements in c
Control statements in c
Sathish Narayanan
Array in c language
Array in c language
home
Array Of Pointers
Array Of Pointers
Sharad Dubey
Packages in java
Packages in java
Elizabeth alexander
Python : Data Types
Python : Data Types
Emertxe Information Technologies Pvt Ltd
String function in my sql
String function in my sql
knowledgemart
Data types in python
Data types in python
RaginiJain21
Strings in C
Strings in C
Kamal Acharya
Array Presentation (EngineerBaBu.com)
Array Presentation (EngineerBaBu.com)
EngineerBabu
Basic data types in python
Basic data types in python
sunilchute1
Union In language C
Union In language C
Ravi Singh
Union in C programming
Union in C programming
Kamal Acharya
What's hot
(20)
Strings
Strings
Presentation on array
Presentation on array
Python Data-Types
Python Data-Types
Array operations
Array operations
Classes, objects in JAVA
Classes, objects in JAVA
String, string builder, string buffer
String, string builder, string buffer
Arrays
Arrays
Abstract Data Types
Abstract Data Types
Control statements in c
Control statements in c
Array in c language
Array in c language
Array Of Pointers
Array Of Pointers
Packages in java
Packages in java
Python : Data Types
Python : Data Types
String function in my sql
String function in my sql
Data types in python
Data types in python
Strings in C
Strings in C
Array Presentation (EngineerBaBu.com)
Array Presentation (EngineerBaBu.com)
Basic data types in python
Basic data types in python
Union In language C
Union In language C
Union in C programming
Union in C programming
Similar to Array
C Programming Language Part 8
C Programming Language Part 8
Rumman Ansari
data_structure (1).pptx
data_structure (1).pptx
nascramaprabhacs1
C_Arrays.pptx
C_Arrays.pptx
Debasis Dwibedy
(Meta 5) ejemplo vectores dev c++
(Meta 5) ejemplo vectores dev c++
Eli Diaz
(Meta 5) ejemplo vectores 2 dev c++
(Meta 5) ejemplo vectores 2 dev c++
Eli Diaz
Arrays
Arrays
mohamed sikander
presentation_arrays_1443553113_140676.ppt
presentation_arrays_1443553113_140676.ppt
NamakkalPasanga
C Prog. - Strings (Updated)
C Prog. - Strings (Updated)
vinay arora
VIT351 Software Development VI Unit2
VIT351 Software Development VI Unit2
YOGESH SINGH
C Prog - Strings
C Prog - Strings
vinay arora
งานนำเสนอ1
งานนำเสนอ1
Mook Prapasson
SaraPIC
SaraPIC
Sara Sahu
C Prog - Pointers
C Prog - Pointers
vinay arora
ภาษาซี
ภาษาซี
kramsri
C Prog - Array
C Prog - Array
vinay arora
C Prog - Array
C Prog - Array
vinay arora
Data Structure using C
Data Structure using C
Bilal Mirza
ภาษาซี
ภาษาซี
kramsri
Programming Fundamentals Arrays and Strings
Programming Fundamentals Arrays and Strings
imtiazalijoono
Array
Array
Samsil Arefin
Similar to Array
(20)
C Programming Language Part 8
C Programming Language Part 8
data_structure (1).pptx
data_structure (1).pptx
C_Arrays.pptx
C_Arrays.pptx
(Meta 5) ejemplo vectores dev c++
(Meta 5) ejemplo vectores dev c++
(Meta 5) ejemplo vectores 2 dev c++
(Meta 5) ejemplo vectores 2 dev c++
Arrays
Arrays
presentation_arrays_1443553113_140676.ppt
presentation_arrays_1443553113_140676.ppt
C Prog. - Strings (Updated)
C Prog. - Strings (Updated)
VIT351 Software Development VI Unit2
VIT351 Software Development VI Unit2
C Prog - Strings
C Prog - Strings
งานนำเสนอ1
งานนำเสนอ1
SaraPIC
SaraPIC
C Prog - Pointers
C Prog - Pointers
ภาษาซี
ภาษาซี
C Prog - Array
C Prog - Array
C Prog - Array
C Prog - Array
Data Structure using C
Data Structure using C
ภาษาซี
ภาษาซี
Programming Fundamentals Arrays and Strings
Programming Fundamentals Arrays and Strings
Array
Array
Recently uploaded
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953056974 Low Rate Call Girls In Saket, Delhi NCR
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
Celine George
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
SafetyChain Software
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
ssuser54595a
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Sumit Tiwari
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
socialsciencegdgrohi
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
JhengPantaleon
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its Characteristics
KarinaGenton
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Celine George
Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdf
adityarao40181
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
SoniaTolstoy
internship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developer
unnathinaik
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
Virag Sontakke
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptx
AvyJaneVismanos
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
pboyjonauth
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
9953056974 Low Rate Call Girls In Saket, Delhi NCR
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology ( Production , Purification , and Application )
Sakshi Ghasle
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
OH TEIK BIN
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
NirmalaLoungPoorunde1
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
VS Mahajan Coaching Centre
Recently uploaded
(20)
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its Characteristics
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
internship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developer
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptx
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology ( Production , Purification , and Application )
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Array
1.
ARRAY
2.
#include<stdio.h> int main() { float student1,student2,student3,student4, student5,student6,student7,student8,student9 …………………….; printf("enter
1st student mark:"); scanf("%f",&student1); printf("enter 2nd student mark:"); scanf("%f",&student2); printf("enter 3rd student mark:"); scanf("%f",&student3); ……………………………………………….}
3.
ARRAY is a
collection of data items All of the same type A common name Array declaration syntax: data_type arr_name [arr_size]; int mark[120];
4.
5.
INDEX: int mark[5]; mark[0]=45; mark[1]=56; mark[2]=40; mark[3]=58; mark[4]=78; int mark[5]={45,56,40,58,78}; Size
=[n] Index=( [0] – [n-1] )
6.
#include<stdio.h> int main() { int mark
[5]; mark[0]=45; mark[1]=56; mark[2]=40; mark[3]=58; mark[4]=78; printf("%d",num[0]); //try other index }
7.
#include<stdio.h> int main() { int mark[5]={45,56,40,58,78}; printf("%d",num[0]);
//try other index }
8.
#include<stdio.h> main() { int num[5]={87,45,48,4,2}; int i; for(i=0;i<=4;i++) printf("num[%d]=%dn",i,num[i]); }
9.
#include<stdio.h> main() { int num[5]; int i; printf("enter
student math markn"); for(i=0;i<=4;i++) { printf("student %d:",i+1); scanf("%d",&num[i]); } printf("show student markn"); for(i=0;i<=4;i++) { printf("student%d math mark:%dn",i+1,num[i]); } }
10.
#include<stdio.h> main() { int math[5],eng[5]; int
i; printf("enter student math markn"); for(i=0;i<=4;i++) { printf("student %d:",i+1); scanf("%d",&math[i]); } printf("enter student english markn"); for(i=0;i<=4;i++) { printf("student %d:",i+1); scanf("%d",&eng[i]); } printf("show student total markn"); for(i=0;i<=4;i++) {printf("student%d total mark:%dn",i+1,math[i]+eng[i]); } }
11.
Assignment: Input 5 student
name ,math mark,physics mark and show name with total mark.
Download now