zoukankan      html  css  js  c++  java
  • 2008秋季计算机软件基础0908课堂用例(1)

    #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);
    }
  • 相关阅读:
    String,StringBuffer与StringBuilder的区别?
    Digui
    Digui1
    逆序
    TestOverWrite
    DemoBoxWeight
    TestSuperSub
    Cast
    TestOverWrite
    Joseph
  • 原文地址:https://www.cnblogs.com/emanlee/p/1286901.html
Copyright © 2011-2022 走看看