⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 condtest.c

📁 不错的X86汇编代码示例
💻 C
字号:
/* condtest.c - An example of optimizing if-then code */#include <stdio.h>int conditiontest(int test1, int test2){        int result;        if (test1 > test2)        {                result = test1;        } else if (test1 < test2)        {                result = test2;        }else        {                result = 0;        }        return result;}int main(){        int data1 = 10;        int data2 = 30;        printf("The result is %d\n", conditiontest(data1, data2));        return 0;}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -