os_kernel_lab/related_info/lec7-8/lec7_1.c

13 lines
165 B
C
Raw Normal View History

2013-10-14 09:20:58 +08:00
void X(int b) {
if (b==1){
printf("X:: b is 1!\n");
}else{
printf("X:: b is not 1!\n");
}
}
int main(int argc, char * argv){
int a=2;
X(a);
}