2. In which of the following situations would we use tuples instead of structs or classes? a)...
Question:
2. In which of the following situations would we use tuples instead of structs or classes?
a) When we wish to create lists of logically related data in client code.
b) When we are not concerned with nested data structures.
c) When the tuple data is just a repository.
d) A tuple is similar to a class but with no member functions.
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Related Book For
Question Posted: