[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Tinycc-devel] TCC sizeof incorrect result
From: |
Nyan Htoo Tin |
Subject: |
[Tinycc-devel] TCC sizeof incorrect result |
Date: |
Thu, 8 Oct 2009 03:03:52 +0800 |
char buf[20];
printf("sizeof buf = %u\n",sizeof(buf)) ;
printf("sizeof buf + 0 = %u\n",sizeof(buf+0));
printf("sizeof buf + 3 = %u\n",sizeof(buf+3) );
printf("sizeof hello world = %u\n",sizeof("hello world") );
printf("sizeof hello world + 3 = %u\n",sizeof("hello world"+3) );
- [Tinycc-devel] TCC sizeof incorrect result,
Nyan Htoo Tin <=