EXPERIMENT-19Write a program to count the number of repetitions of a number in a linked list.#include <stdio.h>int occur(int [], int, int);int main(){int size, key, count;int list[20];int i;printf("Enter the size of the list: ");scanf("%d", &size);printf("Printing the list:\n");for (i = 0; i < size; i++){list[i] = rand() % size;printf("%d ", list[i]);