0
Which is faster/more effecient in C++?
Which is better of the two? 1. int a=2; int b=a; 2. int a=2; int *b = &a;
1 ответ
+ 5
They accomplish 2 different things. For integers, the second one is the same, or slower, but for structures it's much faster.