#include<stdio.h>
#include<conio.h>
void values(int a[4]);
void main()
{
int x[4],i;
clrscr();
printf(" enter 1st number ");
scanf("%d",&x[0]);
printf(" enter remaining values ");
for(i=1;i<4;i++)
scanf("%d",x[i]);
values(x[4]); (cannot convert int to int* and type mismatch in parameter 'a' in call to'value(int *)'
getch();
}
void values(int a[4])
{
int m,max,min,j;
max=m;
min=m;
for(j=1;j<4;j++)
{
if(m>max)
max=m;
j++;
}
if(m<min)
{
min=m;
j++;
}
printf("max and min is%d%d",max,min);
}
:rolleyes: