fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. // your code goes here
  5. char a[2][6] = {"hello","hi"};
  6. printf("%d",sizeof(a));
  7. return 0;
  8. }
  9. /*void foo(int *ary[4])
  10. {
  11. int i = 10,j = 2,k;
  12. ary[0] = &i;
  13. ary[1] = &j;
  14. *ary[0] = 2;
  15. for(k = 0;k<2;k++)
  16. printf("%d\n",*ary[k]);
  17. }*/
  18.  
Success #stdin #stdout 0s 4524KB
stdin
Standard input is empty
stdout
12