All pastes #167291 Raw Edit

Something

public text v1 · immutable
·published 2006-09-11 21:12 UTC
rendered paste body
#include <stdio.h>

int main(void) {

  int *ptr;
  char str[5];
  int some_array[3];

  *ptr = 3;
  str[0] = 'b';
  str[1] = 'l';
  str[2] = 'a';
  str[3] = 'h';
  str[4] = '\0';
  some_array[0] = 45;
  some_array[1] = 3;
  some_array[2] = 69;

  printf("The address of the first character of str is %px\n", str);
  printf("The address of the first element of some_array is %px\n", some_array);
  return 0;

}