All pastes #483484 Raw Edit

Unnamed

public c v1 · immutable
·published 2007-05-11 19:14 UTC
rendered paste body
// Given an array A and the address of element A[x], find the value of  x#include <stdio.h>#define TESTVALUE 5int main(void){  int x = TESTVALUE;  int A[10];  printf("x = %d\n", (&A[x] - &A[0]));  return 0;}