滴水逆向_学习笔记

滴水逆向第三期学习笔记


第三节 IF语句

<h1>c语言提供了2种形式的if语句:</h1> <h3>1、if(表达式)语句1</h3> <p><img src="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/83a0c8333dffb3afeac2be85f57257fe" alt="" /> 例如:</p> <pre><code class="language-cpp">if( x &gt; y ) printf("%d",x);</code></pre> <hr /> <hr /> <h3>2、if(表达式)</h3> <h3>else</h3> <p><img src="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/a2df72e44c048b652407979b095db624" alt="" /> 语句1 else 语句2</p> <p>例如:</p> <pre><code class="language-cpp">if(x&gt;y) printf("%d",x); else printf("%d",y);</code></pre>

页面列表

ITEM_HTML