Simon Biber <ne**@ralmin.cc wrote:
#include <stdio.h>
int main(void)
{
int arr[5];
printf("%d\n", (int)sizeof arr);
printf("%d\n", (int)sizeof &arr);
return 0;
}
Borland C/C++ 5.5: 20, 20 (wrong)
That is very surprising. I know (from bitter experience) that the
5.4.1 compiler that shipped (AFAIK) with C++ Builder 4 is horribly
bug-ridden, but it seems unforgivable that such an egregious bug was
not fixed in the 5.5 release, free or otherwise.
--
C. Benson Manica | I *should* know what I'm talking about - if I
cbmanica(at)gma il.com | don't, I need to know. Flames welcome.