1 // Compile this with: 2 // gcc -g -Wall -fPIC -shared -o libtest7-fn-changed-libapp-v0.so test7-fn-changed-libapp-v0.c 3 4 #include <stdio.h> 5 #include "test7-fn-changed-libapp-v0.h" 6 add(float a,float b)7float add (float a, float b) 8 { 9 return a+b; 10 } 11 print(const struct Student s)12void print (const struct Student s) 13 { 14 printf ("Usn = %d \t Name = %s\n", s.usn, s.name); 15 } 16