Skip to content
Snippets Groups Projects
Select Git revision
  • 7560cc4942f39553de76072a963e56c6ab8d38f9
  • 2024ws default
  • 2023ws
  • 2022ws
  • 2021ws
  • 2020ws
  • 2018ws
  • 2019ws
  • 2017ws
  • 2016ws
10 results

strings-11.c

Blame
  • array-vs-pointer-5.c 131 B
    #include <stdio.h>
    
    int main (void)
    {
      char *h = "Hello!\n";
      int i = 0;
      while (h[i])
        printf ("%c", h[i++]);
      return 0;
    }