Question: please use C program to solve this within 15 munites. Do it fast. [1] Write a C program that declare an array of integer of
please use C program to solve this within 15 munites. Do it fast.

[1] Write a C program that declare an array of integer of size 7 and initialize the array with the first seven digits of your NSU ID. Now, you display all the distinct elements of the array. For example, Jim's NSU ID is 2021234042. The output will be 2013 4. [10] [2] Write a function int countFreg(int list[], int z, int k) that returns the number of occurrences of k in the array, list. The length of the array is z. For example, int x[4] = {1,5, 3,5}; countFreg(x,4,5) returns 2. [10]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
