#include "stdafx.h"
#include <stdio.h>
#include <stdlib.h>
typedef char s[99];
void f(s t)
{
printf("%d\n",sizeof(t));
printf("%d\n",sizeof(s));
printf("%d\n",sizeof(char));
//printf("%d\n",sizeof("hello"));
}
int _tmain(int argc, _TCHAR* argv[])
{
s t;
f(t);
while(1);
return 0;
}
reference: