Write a C program that print elements of an array consists of prime numbers among a given list of integers.
Declare a list of numbers in your main() function; Inside main() call a function that returns an array of prime numbers among given list.
- If your given list is arr={2, 34, 13, 9, 5}
- Your program should return p_arr={2,13,5}
- arr is input and p_arr will be output argument in this case.
Note: Output has to be stored and returned in an array