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 40 50 60 70Second array elements are:10 20 30 40 50 60 70 Are you looking for the Class 10 Computer Science SEBA Solution? You are in the right place! This guide provides accurate, well-structured,…

Write a C program and declare an integer type array with 7 elements in it and display the address of the individual elements in the array.

`#include<stdio.h>int main(){int a[7]; // Declare an integer array with 7 elementsint i; // Initialize the array with some valuesprintf(“Enter seven elements”);for (i = 0; i < 7; i++){scanf(“%d”&a[i]);} // Display the addresses of individual elements return 0;} Output:Addresses of individual elements in the array:Element 0: Address = 0x7ffe6a9d19d0Element 1: Address = 0x7ffe6a9d19d4Element 2: Address =…

Write a C program and declare an integer type array with capacity 7. Take input to the array from the keyboard. Display the 7ᵗʰ element of the array.

Code; `#include<stdio.h> int main() {int a[7]; // Declare an integer array with capacity 7int i; } Output Example: Enter 7 integers, one at a time:10203040506070The 7th element is: 70 Are you looking for the Class 10 Computer Science SEBA Solution? You are in the right place! This guide provides accurate, well-structured, and easy-to-understand solutions to…

Write the indices of the first and last element of the following array declaration. char city [7] = {‘S’, ‘T’, ‘L’, ‘C’, ‘H’, ‘A’, ‘R’, };

Indices of the first element of the array is 0.Indices of the last element of the array is 6 Are you looking for the Class 10 Computer Science SEBA Solution? You are in the right place! This guide provides accurate, well-structured, and easy-to-understand solutions to all topics covered in the SEBA Class 10 Computer Science…