Created
December 25, 2019 02:16
-
-
Save SunXiaoShan/a2b00fd041de48d7733ca95f62920338 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <stdio.h> | |
| #define DEFINEEight 8 | |
| int add(int a, int b) { | |
| return a + b + DEFINEEight; | |
| } | |
| int main() { | |
| int a = 1; | |
| int b = 2; | |
| printf("a = %d\n", a); | |
| printf("b = %d\n", b); | |
| int result = add(a, b); | |
| printf("a + b + 8 = %d\n", result); | |
| return 0; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment