Need to write a function "int add1(int val)" in C or C++ that returns val+1 without using +'s or -'s anywhere in the code. any insight? THX
D*V
2 楼
嵌入汇编, inc 指令?
+1
【在 g*******n 的大作中提到】 : Need to write a function "int add1(int val)" in C or C++ that returns val+1 : without using +'s or -'s anywhere in the code. : any insight? : THX