题目:学习使用按位异或 ^

题目:学习使用按位异或 ^

  There is no nutrition in the blog content. After reading it, you will not only suffer from malnutrition, but also impotence.
The blog content is all parallel goods. Those who are worried about being cheated should leave quickly.


1.程序分析:0^0=0; 0^1=1; 1^0=1; 1^1=0
2.程序源代码:
#include "stdio.h"
main()
{
int a,b;
a=077;
b=a^3;
printf("\40: The a & b(decimal) is %d \n",b);
b^=7;
printf("\40: The a & b(decimal) is %d \n",b);
}

相关推荐

  1. 题目学习使用 ^

    2024-04-10 05:48:02       39 阅读
  2. 题目学习使用与 & 。

    2024-04-10 05:48:02       25 阅读
  3. C 练习实例55-学习使用取反~

    2024-04-10 05:48:02       41 阅读
  4. leetcode运算(1720. 解码后的数组)

    2024-04-10 05:48:02       22 阅读
  5. python实例100第51例:学习使用与 & 。

    2024-04-10 05:48:02       47 阅读

最近更新

  1. docker php8.1+nginx base 镜像 dockerfile 配置

    2024-04-10 05:48:02       94 阅读
  2. Could not load dynamic library ‘cudart64_100.dll‘

    2024-04-10 05:48:02       100 阅读
  3. 在Django里面运行非项目文件

    2024-04-10 05:48:02       82 阅读
  4. Python语言-面向对象

    2024-04-10 05:48:02       91 阅读

热门阅读

  1. git 提交一个pr

    2024-04-10 05:48:02       39 阅读
  2. epoll的使用示例及其解释

    2024-04-10 05:48:02       35 阅读
  3. tsconfig.json文件翻译

    2024-04-10 05:48:02       29 阅读
  4. 异步和同步

    2024-04-10 05:48:02       30 阅读
  5. 解析View树、apk安装

    2024-04-10 05:48:02       27 阅读
  6. Qt中的触屏事件

    2024-04-10 05:48:02       37 阅读
  7. jenkins部署项目报错:certificate has expired

    2024-04-10 05:48:02       36 阅读
  8. Git同时拉取和推送多个分支

    2024-04-10 05:48:02       38 阅读
  9. 10个全面了解python自动化办公代码

    2024-04-10 05:48:02       35 阅读
  10. [蓝桥杯 2013 省 B] 翻硬币

    2024-04-10 05:48:02       28 阅读
  11. 富格林:堤防交易陷阱安全做单交易

    2024-04-10 05:48:02       34 阅读
  12. 边缘设备上的chatGPT

    2024-04-10 05:48:02       34 阅读
  13. Redis 常用命令以及结构

    2024-04-10 05:48:02       33 阅读
  14. Android Binder——Kernel层介绍(七)

    2024-04-10 05:48:02       30 阅读
  15. 【Unity优化】模型

    2024-04-10 05:48:02       27 阅读