Sony 笔试题
1.完成下列程序
*
*.*. *..*..*.. *...*...*...*... *....*....*....*....*....
*.....*.....*.....*.....*.....*..... *......*......*......*......*......*......*......
*.......*.......*.......*.......*.......*.......*.......*.......
#include <stdio.h> #define N 8 int main() {
int i;
int j;
int k; ---------------------------------------------------------
| | | | | | ---------------------------------------------------------
return 0;
}
2.完成程序,实现对数组的降序排序
#include <stdio.h> void sort( );
int main() {
int array[]={45,56,76,234,1,34,23,2,3}; //数字任//意给出
sort( ); return 0;
}
void sort( )
{
____________________________________
| | | | |-----------------------------------------------------| }
3.
1.完成下列程序
*
*.*. *..*..*.. *...*...*...*... *....*....*....*....*....
*.....*.....*.....*.....*.....*..... *......*......*......*......*......*......*......
*.......*.......*.......*.......*.......*.......*.......*.......
#include <stdio.h> #define N 8 int main() {
int i;
int j;
int k; ---------------------------------------------------------
| | | | | | ---------------------------------------------------------
return 0;
}
2.完成程序,实现对数组的降序排序
#include <stdio.h> void sort( );
int main() {
int array[]={45,56,76,234,1,34,23,2,3}; //数字任//意给出
sort( ); return 0;
}
void sort( )
{
____________________________________
| | | | |-----------------------------------------------------| }
3.