Skip to content
Snippets Groups Projects
Select Git revision
  • aca440b467ddd0b38cf2cd8b50eb6eb30ed17e1c
  • 2023ss default protected
  • 2022ss
  • 2021ss
  • 2020ss
  • 2019ss
  • 2018ss
  • 2017ss
  • 2016ss
  • 2015ss
  • 2014ss
11 results

hello-02.c

Blame
  • Forked from Peter Gerwinski / bs
    Source project has a limited visibility.
    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;
    }