test-shared-lib/test.c

9 lines
242 B
C

#include <stdio.h>
#include "test_shared_library.h"
int main(void) {
printf("Program should print \"Hello World\" by calling library function "
"and return number 12.\n----\n");
printf("Hello result: %d\n", hello(12));
return 0;
}