File: libadd.c

package info (click to toggle)
lief 0.9.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster
  • size: 16,036 kB
  • sloc: cpp: 76,013; python: 6,167; ansic: 3,355; pascal: 404; sh: 98; makefile: 32
file content (9 lines) | stat: -rw-r--r-- 142 bytes parent folder | download
1
2
3
4
5
6
7
8
9
#include <stdlib.h>
#include <stdio.h>
#include "libadd.h"

int add(int a, int b) {
  printf("%d + %d = %d\n", a, b, a+b);
  return a + b;
}