Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ## In the .h
- __attribute__((always_inline))
- static int tuv(int x) {
- int s = 0, i;
- for (i = 0; i < x; ++ i)
- s += i*i;
- return s;
- }
- ## In the .c
- int main () {
- int s = 0;
- s += tuv(13);
- s += tuv(55);
- s += tuv(129);
- s += tuv(33);
- s += 2;
- return s;
- }
Add Comment
Please, Sign In to add comment