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

Beispielprogramme 31.10.2019

parent 9af35172
Branches
No related tags found
No related merge requests found
#include <stdio.h>
int main (void)
{
printf ("%c\n", 117);
return 0;
}
#include <stdio.h>
int main (void)
{
char hello[] = "Hello, world!\n";
printf ("%s", hello);
return 0;
}
#include <stdio.h>
int main (void)
{
char hello[15] = "Hello, world!\n";
printf ("%s", hello);
return 0;
}
#include <stdio.h>
int main (void)
{
char hello[14] = "Hello, world!\n";
printf ("%s", hello);
return 0;
}
#include <stdio.h>
int main (void)
{
char hello[3] = "Hello, world!\n";
printf ("%s", hello);
return 0;
}
#include <stdio.h>
int main (void)
{
char bla[] = "blablablablabla";
char hello[14] = "Hello, world!\n";
printf ("%s", hello);
printf ("(bla: %s)", bla);
return 0;
}
#include <stdio.h>
int main (void)
{
volatile char answer[] = {42, 137, 13, 117};
char hello[14] = "Hello, world!\n";
printf ("%s", hello);
printf ("Answer: %d\n", answer[0]);
return 0;
}
#include <stdio.h>
int main (void)
{
volatile char answer[] = {42, 137, 13, 117, 43, 138, 14, 118};
char hello[14] = "Hello, world!\n";
printf ("%s", hello);
printf ("Answer: %d\n", answer[0]);
return 0;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment