1 int  getsum(int a,int b)
2 {
3       return b==0?a:getsum(a ^ b,(a & b) << 1);      
4 }

 

相关文章: