temp |= (1

reneesd2022-10-04 11:39:541条回答

已提交,审核后显示!提交回复

共1条回复
lianghui2000 共回答了20个问题 | 采纳率90%
意思是把tmep的第 i 位(从右数起) 置1
假设int tmep=10;它对应的二进制数就是0000 1100假设现在 i = 6则执行temp |= (1<
例子#include using namespace std;int main(){int temp=10;int i=6;temp |= (1<system("pause");return 0;}
运行希望采纳
1年前

相关推荐

while(1) { temp=P1>>4; temp=temp | 0xf0; P1=temp; }
灌31年前1
internetlili 共回答了11个问题 | 采纳率81.8%
temp=P1>>4; /* P1 的值右移4位的结果,赋给temp */
temp=temp | 0xf0; /* 将 temp 的值倒数 5到8置1 */
P1=temp;
On the top of the hill_____ the old man once lived. A.a temp
On the top of the hill_____ the old man once lived.
A.a temple stands there in which B.stands a temple where
C.a temple standing on which D.does a temple stand where
pinuocaohao1年前1
hd__d5450xf160d 共回答了15个问题 | 采纳率100%
B

—________.— Ever since last week. A.Have you taken your temp
—________.
— Ever since last week.
A.Have you taken your temperature?
B.What’s the matter with you?
C.Is there anything wrong with you?
D.How long have you been like this?
yujianshu0081年前1
laren123 共回答了14个问题 | 采纳率100%
D