Gast
#3333943
Hey Leute habe ein ganz einfaches Unterprogramm geschrieben, doch es
kommt nicht der richtige Wert raus.
Hier das programm:
#include <stdio.h>
int wert(int a, int b)
{
int x = a+b;
return x;
}
int main(int argc, char *argv[])
{
int wert(2,4);
printf("%d",x);
system("PAUSE");
return 0;
}