#include <stdio.h>
void prt (int *x, int*y, int*z)
{printf("%d,%d,%d/n",++*x,++*y,*(z++));}
main()
{int a=10,b=40,c=20;
prt (&a,&b,&c);prt (&a,&b,&c);}
A.11,42, 31 12,22,41
B.11,41,20 12,42,20
C.11,21,40 11,21,21
D.11,41,21 12,42,22
[单选题]以下程序的输出结果是( )。#include<stdio.h>void main(){int a,b,d=241; a=d/100%9; b=(-1)&&(-1); printf("%d,%d/n",a,b);}A.6,1 B.2,1 C.6,0 D.2,0
[单选题]下述程序的输出结果是#include<stdio.h>void main(){ int a[5]={2,4,6,8,10};int *p=a,**q=&p;printf("%d,",*(p++));printf("%d",**q); }A.4,4B.2,2C.4,5D.2,4
[单选题]下述程序的输出结果是#include<stdio.h>void main(){ int a[5]={2,4,6,8,10};int *p=a,**q=&p;printf("%d,",*(p++));printf("%d",**q); }A.4,4B.2,2C.4,5D.2,4
[主观题]以下程序的输出结果是_[13]_______#include <stdio.h>#include <string.h>char *fun(char *t){ char *p=t;return(p+strlen(t)/2);}main(){ char *str="abcdefgh";str=fun(str);puts(str);}
[试题]以下程序的输出结果是_[19]_______#include <stdio.h>#define M 5#define N M+Mmain(){ int k;k=N*N*5; printf("%d/n",k);}
[试题]以下程序的输出结果是 ( 11 ) 。#include <stdio.h>void swap(int *a,int *b){ int *t;t=a; a=b; b=t;}main(){ int i=3,j=5,*p=&i,*q=&j;swap(p,q); printf("%d %d/n",*p,*q);}
[试题]以下程序的输出结果是 ( 12 ) 。#include <stdio.h>main(){ int a[5]={2,4,6,8,10}, *p;p=a; p++;printf("%d",*p);}
[试题]以下程序的输出结果是 ( 13 ) 。#include <stdio.h>void fun(int x){ if(x/2>0) fun(x/2);printf("%d",x);}main(){ fun(3); printf("/n");}
[试题]以下程序的输出结果是 ( 11 ) 。#include <stdio.h>int fun(int x){ static int t=0;return(t+=x);}main(){ int s,i;for(i=1;i<=5;i++) s=fun(i);printf("%d/n",s);}
[试题]以下程序的输出结果是( 10 )。#include .<stdio.h>Main( ){ char a,b;for( a=0; a<20; a+=7) { b=a% 10; putchar(b+'0'); }}