ulvis.paste.net

Paste Search Dynamic
Recent pastes
size is
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4.         int arrI[5] = {1, 2, 3, 4, 5};
  5.         long double arrD[5] = {1.0, 2.0, 3.0, 4.0, 5.0};
  6.  
  7.         printf("%d\n", arrI[3]);
  8.         printf("%d\n", 3[arrI]);
  9.  
  10.         printf("%Lf\n", arrD[3]);
  11.         printf("%Lf\n", 3[arrD]);
  12.  
  13.         printf("size is %d and %d", sizeof(int), sizeof(long double));
  14.  
  15.         return 0;
  16. }
  17.  
  18.  
Parsed in 0.003 seconds