有程序段如下:
private void button1_Click(object sender, EventArgs e)
{
int a=3,b,t;
bool c;
t=-a;
a=~a;
b=++a;
c=a==b && a==t;
textBox1.Text=Convert.ToString(c);
}
程序运行后,单击窗口中的button1按钮,在文本框textBox1中显示的内容是()。
【正确答案】:1
有程序段如下:private void button1_Click(object sender, EventArgs e){in
- 2024-08-15 19:32:27
- 计算机基础与程序设计(02275)