int main(void)
{
  char str[64] ;
  char* ptr = (char*)malloc(64) ;

  printf ("%d\n", sizeof(str)) ;
  printf ("%d\n", sizeof(ptr)) ;
}
 

 

64
4