摘要:
#include struct STU { int id; char name[20]; char sex;};int main(void){ struct STU b = {10, "xwp", 'm'}; struct STU a; a = b; pri... 阅读全文
posted @ 2015-09-23 10:26
微博和csdn还有你
阅读(228)
评论(0)
推荐(0)
摘要:
#include //指针数组练习int main1(void){ //int a[10]; char* arry[3] = {"hello", "world", "itcast"}; //char arry[3][20] = {"hello", "world", "itc... 阅读全文
posted @ 2015-09-23 08:59
微博和csdn还有你
阅读(181)
评论(0)
推荐(0)
摘要:
#include int add(int a, int b){ printf("%d\t%d\n", a, b); return a+b;}char max_ch(char *str){ int max, i; max = 0; for (i = 0; str[i] !... 阅读全文
posted @ 2015-09-23 08:56
微博和csdn还有你
阅读(739)
评论(0)
推荐(0)
摘要:
#include int main1(void){ int a = 3; int b = 8; int *p = &a; // int* p = &a; int **q; // int** q; q = &p; **q = 10; *... 阅读全文
posted @ 2015-09-23 08:53
微博和csdn还有你
阅读(859)
评论(0)
推荐(0)
摘要:
#include #include #include void show_arry(int a[], int n){ int i; for (i = 0; i y;}void swap_int(void *a, void *b){ int tmp; tmp = *((int... 阅读全文
posted @ 2015-09-23 08:45
微博和csdn还有你
阅读(319)
评论(0)
推荐(0)

浙公网安备 33010602011771号