typedef char s[99]; 的用法

#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));
}


int _tmain(int argc, _TCHAR* argv[])
{
s t;
f(t);
return 0;

}





猜你喜欢

转载自blog.csdn.net/qqyuanhao163/article/details/79446949
今日推荐