cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
Array Question
Array Question
Apr 14, 2015 at 8:43pm UTC
closed account (
N1Co216C
)
Hey guys. Can anyone tell me what this line of code does? Does it copy the value from the variable temp into position 8 of numAr, or is it the other way around? Or does it do something else?
temp = array[15]
Last edited on
Apr 14, 2015 at 8:58pm UTC
Apr 14, 2015 at 8:57pm UTC
LB
(13399)
It's the other way around. The thing on the left is what changes. The thing on the right is never affected.
Apr 14, 2015 at 8:59pm UTC
closed account (
N1Co216C
)
Got it. Thanks!
Topic archived. No new replies allowed.