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
321 B
16 lines
321 B
// Compile this with:
|
|
// gcc -g -Wall -fPIC -shared -o libtest7-fn-changed-libapp-v0.so test7-fn-changed-libapp-v0.c
|
|
|
|
#include <stdio.h>
|
|
#include "test7-fn-changed-libapp-v0.h"
|
|
|
|
float add (float a, float b)
|
|
{
|
|
return a+b;
|
|
}
|
|
|
|
void print (const struct Student s)
|
|
{
|
|
printf ("Usn = %d \t Name = %s\n", s.usn, s.name);
|
|
}
|