摘要: 递归(Recursion) 栈(Stack) 先进后出(FILO, First In Last Out) 满足了函数调用(Call)和返回(Return)的顺序 需要维护每个函数调用信息直到返回后才释放,占用内存大 递归函数 基线条件(Base Condition) 递归条件(Recursive C 阅读全文
posted @ 2019-12-26 15:58 no樂on 阅读(226) 评论(0) 推荐(0) 编辑
摘要: C swap实现任意数据类型调换 /* swap.c */ #include <stdio.h> #include <stdlib.h> #include <string.h> /* 从<string.h>中包含memcpy函数 void *memcpy(void *p1, const void * 阅读全文
posted @ 2019-12-26 14:24 no樂on 阅读(313) 评论(0) 推荐(0) 编辑