# include & ltstdio.h & gt
# include & ltmalloc.h & gt
int main()
{
int num
scanf("%d ",& ampnum);
int * arr =(int *)malloc(sizeof(int)* num);
......
Returns 0;
}