Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib.h>
- #define VALUE_1 1
- #define VALUE_2 2
- #define VALUE_3 VALUE_1 + VALUE_2
- #define VALUE_4 (VALUE_1 + VALUE_2)
- int main()
- {
- // 1 + 2 * 4
- printf("%d\n", VALUE_3 * 4 );
- // (1 + 2) * 4
- printf("%d\n", VALUE_4 * 4 );
- return 0;
- }
- /*
- output:
- 9
- 12
- */
Advertisement
Add Comment
Please, Sign In to add comment