Select Git revision
string-ops-9.c
Forked from
Peter Gerwinski / hp
286 commits behind the upstream repository.
Peter Gerwinski authored
string-ops-9.c 261 B
#include <stdio.h>
#include <string.h>
int main (void)
{
char *anton = "Anton";
char *zacharias1 = "Zacharias";
char *zacharias2 = "zacharias";
printf ("%d\n", strcmp (anton, zacharias1));
printf ("%d\n", strcmp (anton, zacharias2));
return 0;
}