c program to pass a single element in an funtional array
#include <stdio.h>
void output(int values)
{
printf("The value of the 5th element of the array is: %d\n", values);
}
int main()
{
printf("Welcome to DataFlair tutorials!\n\n");
int array[6] = {10, 20, 30, 40, 50, 60};
output(array[5]); // Passing the 5th element of the array
return 0;
}