Sample C Program 5 - Page 1
#include
int main() {
int arr[5] = {10, 20, 30, 40, 50};
int i;
for(i = 0; i < 5; i++) {
printf("%d\n", arr[i]);
}
return 0;
}
Explanation:
This page demonstrates a simple C program example. It includes the code and explanation of how
it works. Each document is extended to multiple pages for demonstration purposes.
Sample C Program 5 - Page 2
#include
int main() {
int arr[5] = {10, 20, 30, 40, 50};
int i;
for(i = 0; i < 5; i++) {
printf("%d\n", arr[i]);
}
return 0;
}
Explanation:
This page demonstrates a simple C program example. It includes the code and explanation of how
it works. Each document is extended to multiple pages for demonstration purposes.
Sample C Program 5 - Page 3
#include
int main() {
int arr[5] = {10, 20, 30, 40, 50};
int i;
for(i = 0; i < 5; i++) {
printf("%d\n", arr[i]);
}
return 0;
}
Explanation:
This page demonstrates a simple C program example. It includes the code and explanation of how
it works. Each document is extended to multiple pages for demonstration purposes.
Sample C Program 5 - Page 4
#include
int main() {
int arr[5] = {10, 20, 30, 40, 50};
int i;
for(i = 0; i < 5; i++) {
printf("%d\n", arr[i]);
}
return 0;
}
Explanation:
This page demonstrates a simple C program example. It includes the code and explanation of how
it works. Each document is extended to multiple pages for demonstration purposes.
Sample C Program 5 - Page 5
#include
int main() {
int arr[5] = {10, 20, 30, 40, 50};
int i;
for(i = 0; i < 5; i++) {
printf("%d\n", arr[i]);
}
return 0;
}
Explanation:
This page demonstrates a simple C program example. It includes the code and explanation of how
it works. Each document is extended to multiple pages for demonstration purposes.