C 中可以这样写函数的参数 !!

#include <stdio.h>

#include <stdlib.h>



void

hello( a, b )

int a ;

int b ;

{

        a = 5;

        b = 6;

        printf( "a is %d \n b is %d\n", a, b );

}



int

main()

{

        hello();

        exit( 0 );

}

  

你可能感兴趣的:(函数)