This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*** | |
* C语言函数的传值调用与传址调用 | |
*/ | |
# include<stdio.h> | |
# include<stdlib.h> | |
# include<conio.h> | |
int test1(int a,int b); | |
int test2(int *pa,int *pb); | |
int test3(int &a,int &b); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*交换a,b的值*/ | |
#include<stdio.h> | |
#include<stdlib.h> | |
#include<conio.h> | |
//函数的声明<br/> | |
int change_1(int a,int b); | |
int change_2(int *pa,int *pb); | |
int change_3(int &a,int &b); | |
int main() | |
{ |
NewerOlder