输出程序运行结果。#include main(){enumweek{Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday};enum week day;int x;printf("please input a num:");scanf("%d",&x);day=(enum week)x;printf("Today is :");switch(day){case Sunday:printf("Sunday\n");break;case Monday: printf("Monday\n");break;case Tuesday: printf("Tuesday\n");break;case Wednesday: printf("Wednesday\n");break;case Thursday: printf("Thursday\n");break;case Friday: printf("Friday\n");break;case Saturday: printf("Saturday\n");break;}}
若有以下定义和语句以下是引用片段:#includeint a=4,b=3,*p,*q,*w;p=&a; q=&b; w=q; q=NULL;则以下选项中错误的语句是
A) *q=0;
B) w=p;
C) *p=a;
D) *p=*w;
若有说明:int i, j=2,*p=&i;,则能完成i=j赋值功能的语句是
A) i=*p;
B) p*=*&j;
C) i=&j;
D) i=**p;
1.若p为指针变量,y为变量,则y = *p++;的含义是
A.y=*p;p++
B.y=(*p)++
C.y=p;p++
D.p++;y=*p