Hi, I'm new to C.
I wrote this as a function test, and I dont understand why it doesnt work...
Code:
#include <stdio.h>
int main(void)
{
int a=2;
int b=7;
int Test(a,b);
{
return a+b;
}
printf("\n%d\n", Test(a,b));
return 0;
}
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.