#include<stdio.h>
#include<stdlib.h>
void fun(int n) { n++; }
int main()
{
int a = 1;
fun(a);printf("%d",a);
system("pause");
return 0;
}
输出1
#include<stdio.h>
#include<stdlib.h>
int main()
{
char a = 3, b = 6, c;
c = (a^b) ;
printf("%d",c);
system("pause");
return 0;
}
^表示异或,输出20