1. Implement a function that accepts two integer arrays and returns 1 if they ar
ID: 3620566 • Letter: 1
Question
1. Implement a function that accepts two integer arrays and returns 1 if they are equal 0 otherwise. Write a program that accepts two arrays of integers from the user and checks for quality using the function.2. C program that gets an input line from the user and display the number of times each letters appears: See what i have done so far below:
#include <stdio.h>
#include <string.h>
void main () {
char strIn[99]; //this is array of charachters
int number = 0;
char *letter = "a";
printf("Input character in low case ");
scanf("%s", &strIn);
for(int i = 0; i < strlen(strIn); i++) {
char letter = strIn[i];
if(letter == "a") {
number ++;
}
}
printf("Print out number", number);
}
Explanation / Answer
Dear, 1. #include int size=4; //function definition int isEqual(int arr1[],int arr2[]) { int i; int value; for(i=0;iRelated Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.