#include<stdio.h>
#include
<stdlib.h>
struct nodetype
{
    
int data;
    
/* data数据项用于存放结点的数据值 */
    
struct nodetype *next; 
    
/* next数据项存放下一个结点的指针 */
};
 

void main()
{
    
int a;
    
int *p;  
    printf(
" %d ",sizeof(a));
    printf(
" %d ",sizeof(struct nodetype));
    p
=malloc(4);
    scanf(
"%d",p);
    printf(
" %d ",*p);
}

相关文章:

  • 2022-01-26
  • 2022-01-13
  • 2021-07-07
  • 2021-12-06
  • 2021-12-20
  • 2021-09-29
  • 2021-07-27
  • 2021-12-06
猜你喜欢
  • 2021-10-29
  • 2022-01-23
  • 2021-07-13
  • 2021-08-02
  • 2021-12-11
  • 2022-01-09
  • 2021-05-24
相关资源
相似解决方案