家庭作业
练习题 7.6
extern int buf[];
int *bufp0 = &buf[0];
static int *bufp1;
static void incr()
{
static int count=0;
count++;
}
void swap()
{
int temp;
incr();
bufp1 = &buf[1];
temp = *bufp0;
*bufp0 = *bufp1;
*bufp1 = temp;
}练习题 7.7
练习题 7.8
练习题 7.9
练习题 7.10
练习题 7.11
练习题 7.12
练习题 7.13
最后更新于