Difference between r1.7 and the current
@@ -6,14 +6,32 @@
{{{
void swap(int *a, int *b){
int temp;
temp=*a;
*a=*b;
*b=temp;
}
//분석해보세요
void swap(int *a, int *b){
}}}
== 문자열 출력 ==
{{{
void swap(int *a, int *b){
int temp;
*a=*b;
*b=temp;
}
void swap(int *a, int *b){
a^=b^=a^=b;
if((*a)!=(*b)){
*a^=*b^=*a^=*b;
}
}int main()
{
int x=5, y=10;
printf("%d %d\n", x, y);
swap(&x, &y);
printf("%d %d\n", x, y);
return 0;
}
== 문자열 출력 ==
{{{
@@ -23,8 +41,11 @@
ptr++;
}
}
void main(){
prints("abcd");
}
}
}
int main()
{
printstring("abcd");
return 0;
}
}}}