若有以下的说明和语句,则在执行for语句后,*(*(pt+1)+2)表示的数组元素是( )。im t[3][3],*pt[3],k;for(k=0;k<3;k++)pt[k]-&t[k][o]; t[2]Eo]。 t[2][2]。 tell[2]。 t[2][1]。
有以下程序:main(){int a=0,b=0;a=10; /*给a赋值b=20; 给b赋值 */printf(”a+b=%d\n”,a+b);//输出计算机结果)程序运行后的输出结果是( )。 a+b=10。 a+b=30。 30。 出错。
下列程序的执行结果是( )。#include<stdio.h>main(){ int a,b,C;a=b=2,C=1:c=(a4-+)-1;printf(”%d,%d”,a,c);c+=-a+++4-(++b);printf(”%d,%d”.a。c); 3,14,1。 3,14,2。 2,04,1。 2,14,1。
下列变量声明合法的是( )。 short a=1.4e-1;。 double b=1+3e2.8;。 10ng do=0xfdaL;。 float 2_aaa=1e-3;。
若已定义:int a口一(0,1,2,3,4,5,6,7,8,9),*p=a,i;其中0≤i≤9,则对a数组元素的引用不正确的是( )。 a[p-a]。 *(&a[i])。 p[i]。 *(*(a十i))。
为了提高软件的独立性,模块之间最好是( )。