Embed presentation
Download to read offline















![#include <stdio.h>
int main(void) {
int arr[2][5] = {{0,1,2,3,4},{5,6,7,8,9}};
int sum=0;
for(int i=0;i<2;i++){
for(int j=0;j<5;j++){
sum += arr[i][j];
}
}
printf("2 : %dn",sum);
}
doubleArr.c](https://image.slidesharecdn.com/103-180131123809/75/10-3-16-2048.jpg)
![#include <stdio.h>
int main(void) {
int arr[2][5] = {{0,1,2,3,4},{5,6,7,8,9}};
int sum=0;
for(int i=0;i<2;i++){
for(int j=0;j<5;j++){
sum += arr[i][j];
}
}
printf("2 : %dn",sum);
}
doubleArr.c](https://image.slidesharecdn.com/103-180131123809/75/10-3-17-2048.jpg)
![#include <stdio.h>
int main(void) {
int arr[2][5] = {{0,1,2,3,4},{5,6,7,8,9}};
int sum=0;
for(int i=0;i<2;i++){
for(int j=0;j<5;j++){
sum += arr[i][j];
}
}
printf("2 : %dn",sum);
}
doubleArr.c](https://image.slidesharecdn.com/103-180131123809/75/10-3-18-2048.jpg)




The document contains repeated C code that calculates the sum of a 2D array consisting of two rows and five columns. The array is initialized with integers from 0 to 9, and the program prints the total sum. It appears to be a simple example of array manipulation and summation in C.















![#include <stdio.h>
int main(void) {
int arr[2][5] = {{0,1,2,3,4},{5,6,7,8,9}};
int sum=0;
for(int i=0;i<2;i++){
for(int j=0;j<5;j++){
sum += arr[i][j];
}
}
printf("2 : %dn",sum);
}
doubleArr.c](https://image.slidesharecdn.com/103-180131123809/75/10-3-16-2048.jpg)
![#include <stdio.h>
int main(void) {
int arr[2][5] = {{0,1,2,3,4},{5,6,7,8,9}};
int sum=0;
for(int i=0;i<2;i++){
for(int j=0;j<5;j++){
sum += arr[i][j];
}
}
printf("2 : %dn",sum);
}
doubleArr.c](https://image.slidesharecdn.com/103-180131123809/75/10-3-17-2048.jpg)
![#include <stdio.h>
int main(void) {
int arr[2][5] = {{0,1,2,3,4},{5,6,7,8,9}};
int sum=0;
for(int i=0;i<2;i++){
for(int j=0;j<5;j++){
sum += arr[i][j];
}
}
printf("2 : %dn",sum);
}
doubleArr.c](https://image.slidesharecdn.com/103-180131123809/75/10-3-18-2048.jpg)


