#include//包含scanf_s()和printf()的原型 intmain() {int A[10]&#61;{2,5,8,1,0,9,3,7,6,4};//给定满足要求的10个整数int B[10];for(int i &#61;0; i <10; i&#43;&#43;){printf("%d ", A[i]);}printf("\n");for(int i &#61;0; i <10; i&#43;&#43;){B[A[i]]&#61; A[i];}for(int i &#61;0; i <10; i&#43;&#43;){printf("%d ", B[i]);}printf("\n");return0; }