以下程序的输出结果是【 14 】
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
main( )
{ char *p,*q,*r,
p=q=r=(char*)malioc( sizeof(char)*20);
strcpy(p,"attaboy,welcome!");
printf(”%c%c%c\n”,p[ 11 ], q[ 3 ],r[ 4 ]);
free(p);
}
急性病毒性肝炎血清酶学检验,符合的结果是()。A.LT与ST都增高且LTB.ST增高且LT>STC.LT与ST都增高且LT>STD.LT增高且LTE.LP增高
点击查看答案
以下程序的输出结果是【】。 include include void main 0 { char s[50]; st以下程序的输出结果是【 】。include<iostream.h>include <string.h>void main 0 {char s[50];strcpy(&s[O], "No" );strcpy(&s[1], "123" );strcpy (&s[2], "23456" );cout<<s;}
有以下程序includemain(){int a=5,b=lt; t=(a有以下程序 #include<stdio.h> main() { int a=5,b=lt; t=(a<<2)|b;printf("%d\n",t); } 程序运行后的输出结果是______。A.21B.11C.6D.1
有以下程序:当执行程序时,按下列方式输入数据(从第l列开始,<;CR>;代表回车,注意:回车也是一个字符]12<;CR>;34<;CR>;则输出结果是( )。A.12B.123C.1234D.12343
有以下程序:执行时输入:3.6 2.4<;回车>;,则输出结果是( )。A.2.400000B.1.500000C.1.600000D.2.000000
有以下程序:执行时输入:6<;回车>;,则输出结果是( )。A.6B.8C.7D.5
有以下程序:执行时输入:aBeDefG<;回车>;,则输出结果是( )。A.AbCdEFgB.ABCDEFGC.BCDEFGHD.bedefgh