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 03ffc9c commit 611e575
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 611e575

Please sign in to comment.