摘要:
#include<stdio.h> #include<malloc.h> struct Student{ int sid; int age; } struct Student* CreateStudent(void); void ShowStudent(strucent Student*) int 阅读全文
posted @ 2021-10-09 11:15
不会笑的孩子
阅读(33)
评论(0)
推荐(0)
摘要:
typedef int INT; //相当于给int起了一个别名INT typedef struct Student { int sid; char name[100]; char sex; }ST; //ST st 就相当于struct Student st ,给struct Student 起了 阅读全文
posted @ 2021-10-09 11:13
不会笑的孩子
阅读(32)
评论(0)
推荐(0)
摘要:
#include <stdio.h> //#为预处理命令 #include <malloc.h>//内存分配 int main(void) { //静态分配内存(数组) int a[5] = {2,3,5,6,9}; int len = 0; //len 为一维数组的长度,可以根据需求动态分配长度 阅读全文
posted @ 2021-10-09 10:55
不会笑的孩子
阅读(65)
评论(0)
推荐(0)

浙公网安备 33010602011771号