fork download
  1. #include <stdio.h>
  2.  
  3. void tamVet(int *vet){
  4. printf("\n%d", sizeof(vet));
  5. }
  6.  
  7. int main(void){
  8. int vetor[10];
  9. printf("\n%d", sizeof(vetor));
  10. tamVet(vetor);
  11. }
Success #stdin #stdout 0s 4388KB
stdin
Standard input is empty
stdout
40
8