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

alignment-02.c

Blame
  • alignment-02.c 199 B
    #include <stdio.h>
    #include <stdint.h>
    #include <string.h>
    
    uint8_t a;
    uint16_t b;
    uint8_t c;
    
    int main (void)
    {
      memset (&a, 0xff, 4);
      printf ("a = %d\nb = %d\nc = %d\n", a, b, c);
      return 0;
    }