问题详情
现有如下程序段
#include "stdio.h"
int fun(int k,int *m)
{if(k%3)*m=k*k;
else *m=k/3;}
main()
{ int (*p)(int,int *),m;
p=fun;
(*p)(78, &m);
printf("%d\n",m);}
则程序段的输出结果为
A.24
B.25
C.26
D.27
未搜索到的试题可在搜索页快速提交,您可在会员中心"提交的题"快速查看答案。
收藏该题
查看答案
搜题
相关问题推荐
对空气滤清器粗滤芯进行保养应()。
A、每年更换一次
B、清洗6次以后更换
C、两年更换一次
D、清洗2次以后更换
若变量已正确说明为float型,要通过语句scanf("%f%f%f",&a,&b,&c);给a赋予10.0,b赋予22.0,c赋予33.0,下列不正确的输入形式是
A.10<回车>22<回车>33<回车>
B.10.0,22.0,33.0<回车>
C.10.0<回车>22.033.0<回车>
D.10 22<回车>33<回车>
Which reference code is displayed during the boot process that signals that an administrator may interrupt the boot process to enter the SMS Menu?()
A、517
B、B0G1
C、E1F1
D、00A8
阅读下面语句,则执行后的输出结果为 【8】
#include "stdio.h"
main()
{char a,b;
for(a=′0′,b=′9′;a
printf("%c%c",a,b);
printf("\n");}
设x,y,t均为int型变量,执行语句:
x=y=3;
t=++x||++y;
完成后,y的值为
A.不确定
B.4
C.3
D.1