Question: In C++ compare arrays with list of data: For example, list 1 = [20, 30, 40, 50, 60] list 2 = [20, 30, 40, 50

In C++ compare arrays with list of data:

For example,

  • list 1 = [20, 30, 40, 50, 60]
  • list 2 = [20, 30, 40, 50 60]
  • list 3 = [20, 30, 40, 50 60, 70]
  • list 4 = [60, 50, 40, 30, 20]

List 1 is equivalent to List 2

List 2 is equivalent to List 1 (Mathematical Communitive Property)

List 2 is NOT equal to List 3

List 4 is NOT equal to neither List 1 NOR List 2.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!