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