Write a C program to search an element in an array

Write a C program to search an element in an array

#include
#include

int main()
{
    int arr[100];
    int size, i, num, flag;

    /* Input size of the array */
    printf("Enter size of array: ");
    scanf("%d", &size);

    /* Input elements of the array */
    printf("Enter elements in array: ");
    for(i=0; i