Skip to main content
added 4 characters in body
Source Link
Stephan
  • 43.2k
  • 69
  • 245
  • 342
int x [sz];
int *y = x;

This compiles and yy will be the same as xx.

int x [sz];
int *y = x;

This compiles and y will be the same as x.

int x [sz];
int *y = x;

This compiles and y will be the same as x.

added 8 characters in body
Source Link
j0k
  • 22.8k
  • 28
  • 81
  • 90

int x [sz]; int *y = x;

int x [sz];
int *y = x;

This compiles and y will be the same as x.

int x [sz]; int *y = x;

This compiles and y will be the same as x.

int x [sz];
int *y = x;

This compiles and y will be the same as x.

Source Link
mikeD
  • 195
  • 1
  • 6

int x [sz]; int *y = x;

This compiles and y will be the same as x.