Commit d32f2405 authored by Matthias Braun's avatar Matthias Braun
Browse files

return 0 from main function

parent 21a385ac
#include <stdio.h>
int hallo()
{
int i = 0;
int j = 2;
int i = 0;
int j = 2;
i = add(i, j, i, j);
i = add(i, j, i, j);
return i;
return i;
}
int add(int i, int j, int k, int l)
{
return i + j + k +l;
return i + j + k +l;
}
int main() {
printf("%d\n", hallo());
printf("%d\n", hallo());
return 0;
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment