下面程序段的输出结果是( )。#include int main( ){ int k,a[3][3]={1,2,3,4,5,6,7,8,9};for (k=0;k<3;k++)printf("%d",a[k][2-k]);return 0;}
A. 3 5 7
B. 3 6 9
C. 1 5 9
D. 1 4 7
查看答案
#include "stdio.h"int main(){ int a[4][4]={{1,2,3,4},{5,6,7,8},{3,9,10,2},{4,2,9,6}};int i,s=0;for(i=0;i<4;i++)s+=a[i][1];printf("%d\n",s);return 0;}则程序段的输出结果为: 。
下列程序段执行后的输出结果是 。#include int main(){char a[2][4];strcpy(a,"you");strcpy(a[1],"me");a[0][3]='&';printf("%s\n",a);return 0;}
1. Private key algorithm vs. public key algorithm? (Com-pare their computation complexity, security, and usage.)
2. How can we combine the private key algorithm andthe public key algorithm?