What does == test when applied to arrays in C++?
Does it test for type equivalence or equal memory locations?
vladdy191
0
Newbie Poster
Recommended Answers
Jump to PostI'd have to say the contents. To check if they refer to same memory locations, you will have to dereference when you compare.
All 3 Replies
freudian_slip
1
Light Poster
Sci@phy
97
Posting Whiz in Training
skatamatic
371
Practically a Posting Shark
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.