// function fun () function is: to identify and be divisible by x is an even number, and // all the numbers stored in the array bb and press descending order of output. // For example, when x = 20, sequentially outputs: 201,042. #include <stdio.h> #include <stdlib.h> void Fun ( int K, int BB []) { int I; int J = 0 ; for(i=1; i<=k; i++) { if(k%i==0&&i%2==0) bb[j++]=i; } for(i=j-1; i>=0; i--) // blank3 printf("%d ",bb[i]); } int main() { int x, *t; scanf("%d", &x); // apply sizeof (int) to the system * x bytes of memory space // If the application is successful, the system will first address memory allocation is assigned to t t = ( int *) malloc ( sizeof ( int ) * the X-); fun(x,t); system("pause"); return 0; }