#include
using namespace std;
#include
using namespace std;
void fun2(int a[],int n,int& c1,int& c2){ p>
for(int i=0;i if(a[i]%2==0){ c2++; p> } else{ c1++; } } } p> int main(){ int n=100,c1=0,c2=0; cout<<"Input the number of array elements:";< /p> cin>>n; int a[n]; cout<<"Input array element:"< for(int i=0;i cin>>a[i]; } fun2(a,n ,c1,c2); cout<<"The number of odd elements is:"< return 0; }