文本描述
sizeof. void Func(char str[100]){} sizeof(str)=1 char str[]=”Hello”; char *p=str; int n=10; sizeof(str)
=2 sizeof(p)=3 sizeof(n)=4 void *p=malloc(100); sizeof(p)=5 (1) 4 (2) 6 (3) 4 (4) 4 (5) 4 #include<filename.h>include
“filename.h” #include<filename.h> #include “filename.h” ifndef/define/endif define include Const 1const 2const const int
kSendLengthUnit = 0x34 3void f(const int i) { .........} i 4 c++ c extern “C” c++cvoid f(int x,int y); C_fc++_f_int_int include
“filename.h” #include “filename.h” ifndef/define/endif include c++c c++C extern "C" strcpy strcpy Char *strcpy(char
*strDest,const char *strSrc); strDest strSrc 1c++/c strcpy 2StrcpystrSrc strDest char *char * 1.fun 2.255 N N N N N N N 。。。。。。
以下内容略