-->
当前位置:首页 > Eng

Eng 第113页

  • 最新
  • 浏览
  • 评论

单选题:以下程序运行后屏幕输出为

Luz3年前 (2022-11-23)733
以下程序运行后屏幕输出为#include<stdio.h>void f(int i){ int a=2; a=i++; printf("%d,",a);}main(){ int a=1,c=3; f(c); a=c+…

单选题:以下程序运行后屏幕输出为

Luz3年前 (2022-11-23)720
以下程序运行后屏幕输出为#include<stdio.h>int f(int x,int y){ return(x+y);}main(){ int a=2,b=3,c; c=f(a,b); printf("%d+%d=%…

单选题:以下程序段运行后屏幕输出为

Luz3年前 (2022-11-23)763
以下程序段运行后屏幕输出为char str[80];strcpy(str,"hello");printf("%d",strlen(str));A.5B.6C.7D.80answer:A…

单选题:有以下程序

Luz3年前 (2022-11-23)724
有以下程序main(){char p[]={'a','b','c'},q[]="abc";printf("%d%d\n",sizeof(p),sizeof(q));};程序运行后和输出结果是A.4 4B.3 3C.4 3D.3 4answe…

单选题:下面程序的输出结果是 ____ 。

Luz3年前 (2022-11-23)717
下面程序的输出结果是( )。#include <stdio.h>main(){int i=2;printf("%d",f(i,i+1));}int f(int a,int b){int c;c=a;if(a>b) c=1…

单选题:函数调用:strcat(strcpy(str1,str2),str3)的功能是

Luz3年前 (2022-11-23)837
函数调用:strcat(strcpy(str1,str2),str3)的功能是A.将串str1复制到串str2中后再连接到串str3之后B.将串str1连接到串str2之后再复制到串str3之后C.将串str2复制到串str1中后再将串st…

单选题:若程序中定义了以下函数

Luz3年前 (2022-11-23)809
若程序中定义了以下函数double myadd(double a,double b){ return (a+b); }并将其放在调用语句之后,则在调用之前应该对该函数进行说明,以下选项中错误的说明是A.double myadd(double…

单选题:以下程序运行后屏幕输出为

Luz3年前 (2022-11-23)699
以下程序运行后屏幕输出为#include<stdio.h>int a=2,b=3;int max(int a,int b){ int c; c=a>b?a:b; return(c);}main(){…

单选题:以下程序

Luz3年前 (2022-11-23)662
以下程序char fun(char x,char y){if(x<y) return x;return y;}main(){int a='9',b='8',c='7';printf("%c\n",fun(fun(a,b),fun(b,…

单选题:设函数fun的定义形式为

Luz3年前 (2022-11-23)736
设函数fun的定义形式为void fun(char ch,float x) {……}则以下对函数fun的调用语句中,正确的是A.fun("abc",3.0); B.t=fun('D',16.5); C.fun ('65',2.8)…