Skip to content

Commit

Permalink
Write a function-like macro SUM(x, y) that computes the sum of the nu…
Browse files Browse the repository at this point in the history
…mbers x and y
  • Loading branch information
JayMburu committed Apr 12, 2022
1 parent 8f9d897 commit 0c0c0a8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions 0x0D-preprocessor/4-sum.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#ifndef SUM_H
#define SUM_H

#define SUM(x, y) ((x) + (y))

#endif

0 comments on commit 0c0c0a8

Please sign in to comment.