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