You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
327 B

// Compile this with:
// gcc -g -o test7-fn-changed-app -L. -ltest7-fn-changed-libapp-v0 test7-fn-changed-app.c
#include <stdio.h>
#include "test7-fn-changed-libapp-v0.h"
int main()
{
struct Student s = {7, "foo"};
float a = 3.5, b = 2.0;
printf ("Addition of a and b = %f\n",add(a,b));
print(s);
return 0;
}