Chapter 6

Write a C program and declare two integer type arrays, each with capacity 7. Take input only to the first array. Write a loop to copy the elements of the first array to the second one. Display the elements of the second array.

`#include<stdio.h> int main() {int a[7], b[7], i; } Output Example: Enter 7 numbers for the first array: 10 20 30

Write a C program and declare two integer type arrays, each with capacity 7. Take input only to the first array. Write a loop to copy the elements of the first array to the second one. Display the elements of the second array. Read More »

Scroll to Top