⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 78.c

📁 这是一个经过本人一个月的时间自己做的关于c的小程序
💻 C
字号:
#include<stdio.h>
struct node
{
	
	int i:31;
	int k:31;
	int j:3;
	double b;
	
	

} lk;
struct node1
{
	int i:8;
	int j:4;
	
	int k:3;
	double b;
}kll;
void text()
{
	int *p;
	char str[100];
	printf("%d\n",m(3+5));
	p=malloc(100);
	printf("%d\n",sizeof(p));
	printf("%d\n",sizeof(str));


	printf("%d\n",sizeof(lk));
	printf("%d\n",sizeof(kll));

}
int  m(int x)
{
	return 3*x*x; 
}


/*#include<stdio.h>
#include<string.h>
#include<malloc.h>
void GetMemory(char **p,int num)
{
	 *p=(char *)malloc(num);
	//return p;
}
main()
{
	char *str=NULL;
    GetMemory(&str,100);
	strcpy(str,"hello");
	printf("%s",str);
}
*/

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -