example-2.1.c

example-2.1.c · 209 B

From the archive c_pointers_examples.tar.gz

Download the archive   « Back to the archive contents

#include <stdio.h>

int main()
{
  char x = 'a';
  char y = 'b';
  char z = 'c';
  printf( "char x is at: %p\n\r"
          "char y is at: %p\n\r"
          "char z is at: %p\n\r", &x, &y, &z );
  return 0;
}

Site Stats

Snippets: 1791
Codebases: 571