Advertisement
18126

TestNo1Ex3

Mar 23rd, 2022
731
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.23 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3. #include <string.h>
  4.  
  5. #define SUMNUM(x,y,z) ( (x) + (y) + (z) )
  6.  
  7. int main() {
  8.     int a = 3;
  9.     int b = 4;
  10.     int c = 5;
  11.     int sum = SUMNUM(3, 4, 5);
  12.     printf("Sum: %d", sum);
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement