#include <stdio.h>
void getSeconds1(unsigned long **par)
{
printf(" *par =: %ld\n", **par );
}
void getSeconds2(unsigned long *par1)
{
getSeconds1(&par1);
}
int main ()
{
unsigned long sec;
sec=10;
getSeconds2( &sec );
return 0;
}
#include <stdio.h>
void getSeconds1(unsigned long *par)
{
printf(" 原参数 =: %ld\n", *par );
}
void getSeconds2(unsigned long *par1)
{
unsigned long *par2=0;
par2=par1;
getSeconds1(par2);
}
int main ()
{
unsigned long sec;
sec=10;
getSeconds2( &sec );
return 0;
}
#include <stdio.h>
void getSeconds1(unsigned long *par)
{
printf(" 原参数也可以 =: %ld\n", *par );
}
void getSeconds2(unsigned long *par1)
{
getSeconds1(par1);
}
int main ()
{
unsigned long sec;
sec=10;
getSeconds2( &sec );
return 0;
}