1. 设有定义语句:char c1 = 92, c2 = 92;,则以下表达式中值为零的是()
现以顺序为 1, 2, 3, 4, 5, 6, 7 的整数列表调用该函数
- c1^c2
- c1&c2
- ~c2
- c1|c2
#include<stdio.h>
#include<string.h>
int main() {
int n;
char y[10] = "ntse";
char *x = y;
n = strlen(x);
*x = x[n];
x++;
printf("x=%s,", x);
printf("y=%s\n", y);
return 0;
}
- x=atse,y=
- x=tse,y=
- x=atse,y=e
- x=tse,y=e
现以顺序为 1, 2, 3, 4, 5, 6, 7 的整数列表调用该函数
struct node
{
int value;
struct node *next;
}