
/*C語言 傳遞結構陣列*/
#include<stdio.h>
#include<stdlib.h>
struct data
{
char name[10];
int score;
};
愛學習 發表在 痞客邦 留言(0) 人氣(2,309)

/*C語言 將結構的位址傳遞到函數裡*/
#include<stdio.h>
#include<stdlib.h>
struct data
{
char name[10];
int score;
};
愛學習 發表在 痞客邦 留言(0) 人氣(563)

/*C語言 巢狀結構*/
#include<stdio.h>
#include<stdlib.h>
int main(void)
{
struct date
{
char month[10];
int day;
};
愛學習 發表在 痞客邦 留言(0) 人氣(436)