Skip to content

Commit

Permalink
cpptest test
Browse files Browse the repository at this point in the history
  • Loading branch information
Jakub Sarzyński committed Oct 24, 2022
1 parent 13d2692 commit 8b71837
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions _user/hello/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,18 @@

#include <stdio.h>

int add(int a, int b) {
int c = a + b;
printf("Add: %d\n", c);
return c;
}


int main(void)
{
printf("Hello World!!\n");

add(1, 2);

return 0;
}

0 comments on commit 8b71837

Please sign in to comment.