<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>系统编程 on 里列昂遗失的记事本</title><link>https://blog.overfit.org/tags/%E7%B3%BB%E7%BB%9F%E7%BC%96%E7%A8%8B/</link><description>Recent content in 系统编程 on 里列昂遗失的记事本</description><generator>Hugo</generator><language>zh-cn</language><lastBuildDate>Tue, 07 Dec 2021 15:15:00 +0800</lastBuildDate><atom:link href="https://blog.overfit.org/tags/%E7%B3%BB%E7%BB%9F%E7%BC%96%E7%A8%8B/index.xml" rel="self" type="application/rss+xml"/><item><title>使用位级和逻辑运算，编写C表达式(x==y)</title><link>https://blog.overfit.org/posts/2021-12-07-15656318-%E4%BD%BF%E7%94%A8%E4%BD%8D%E7%BA%A7%E5%92%8C%E9%80%BB%E8%BE%91%E8%BF%90%E7%AE%97%E7%BC%96%E5%86%99c%E8%A1%A8%E8%BE%BE%E5%BC%8Fxy/</link><pubDate>Tue, 07 Dec 2021 15:15:00 +0800</pubDate><guid>https://blog.overfit.org/posts/2021-12-07-15656318-%E4%BD%BF%E7%94%A8%E4%BD%8D%E7%BA%A7%E5%92%8C%E9%80%BB%E8%BE%91%E8%BF%90%E7%AE%97%E7%BC%96%E5%86%99c%E8%A1%A8%E8%BE%BE%E5%BC%8Fxy/</guid><description>只是用位级和逻辑运算，编写一个C表达式，它等价于x==y。当x和y相等时返回1，否则返回0 int main(void) { int x = 32, y = 32; printf(&amp;quot;%dn&amp;quot;, !((~x &amp;amp; y) | (~y &amp;amp; x)));</description></item></channel></rss>