[ create a new paste ] login | about

Link: http://codepad.org/Yn1vJoGX    [ raw code | output | fork ]

C, pasted on Jul 13:
1
2
3
4
5
6
7
8
9
#include <stdio.h>

#define HALVE(n) n / 2

int main(void)
{
    printf("Half of 5 + 5 is %d\n", HALVE(5 + 5));
    return 0;
} 


Output:
1
Half of 5 + 5 is 7


Create a new paste based on this one


Comments: