- 2
- 0
- 约7.17千字
- 约 19页
- 2019-06-11 发布于广东
- 举报
C指针经典应用,多年学习笔记,不看后悔
C++ pointer classic applications, years of study notes, do not look at regret,?Txt love is art, marriage is technology, divorce is arithmetic? This year the girls were vying for the small waist fine, who rare small belly Po? Higher than high salaries, paid as long, long as happy.
Pointer classic application:
One
#inelude stdio.h
Int main (void)
{
Char str[]= Hello world;
For (int i=0; I sizeof (STR); i++)
Couti [str],\n,;
Getchar ();
}
Results: Hello World
* in the expression array is implicitly converted to pointers
Str[i] is * (STR + I)
I[str] is * (I + STR)
O[str+i] (O+
原创力文档

文档评论(0)