logo

Sharing functions between files in C

#include <stdlib.h> #include <stdio.h> int getSum(int x, int y); int main(int argc, char* argv[]) { printf("Sum is %d\n", getSum(15, 20)); return 0; }

Courses with this lesson