Skip to content
Snippets Groups Projects
Commit a67f6bf7 authored by Peter Gerwinski's avatar Peter Gerwinski
Browse files

Beispiel-C-Programme 21.5.2024

parent 172ea086
Branches
No related tags found
No related merge requests found
#include <stdio.h>
void hello (void)
{
puts ("Hello, world!");
}
int main (void)
{
hello ();
return 0;
}
#include <stdio.h>
int main (void)
{
hello ();
return 0;
}
void hello (void)
{
puts ("Hello, world!");
}
#include <stdio.h>
int main (void)
{
hello ("world");
return 0;
}
void hello (char *world)
{
printf ("Hello, %s!\n", world);
}
#include <stdio.h>
int main (void)
{
hello (42);
return 0;
}
void hello (char *world)
{
printf ("Hello, %s!\n", world);
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment