Hi All
#include <stdio.h>
#include <string.h>
#define SYSTEM_TABLE "SYSIBM"
int main()
{
printf("size is %d %d\n", sizeof(SYSTEM_TABLE - 1), (sizeof(SYSTEM_TABLE) - 1) );
}
Output
size is 4 6
I can understand the reason for the seconds value i.e. 6.
Please explain the reason for the first value i.e. 4. I guess some type conversion happens there. But I am not sure.
Thanks & Regards
Sathish Kumar