fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. char a[10];
  5. char *ptr = a;
  6. // your code goes here
  7. printf("Ptr_len:%u, A_len:%u", sizeof(*ptr), sizeof(a));
  8. return 0;
  9. }
  10.  
Success #stdin #stdout 0s 9432KB
stdin
Standard input is empty
stdout
Ptr_len:1, A_len:10