fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. // your code goes here
  5. int arr[3] = {1,2,3};
  6. printf("%d %d %d \n", *&arr[0],*&arr[1],*&arr[2]);
  7. printf("%d %d %d \n", arr[0],arr[1],arr[2]);
  8. printf("%d %d %d \n", *(arr),*(arr+1),*(arr+2));
  9. return 0;
  10. }
  11.  
Success #stdin #stdout 0.01s 5312KB
stdin
Standard input is empty
stdout
1 2 3 
1 2 3 
1 2 3