How do you declare a set in c++?
Answer / Akash Kumar Kharwar
To declare a set in C++, you first include the corresponding header file (<set>), and then use the set container with template parameters. For example: nn`std::set<int> mySet;`nCreates an empty set of integers.
| Is This Answer Correct ? | 0 Yes | 0 No |
How do you remove an element from a set in c++?
What is the equivalent of Pascal's Real a) unsigned int b) float c) char
What is the use of endl in c++ give an example?
What is near, far and huge pointers? How many bytes are occupied by them?
What are the effects after calling the delete this operator ?
What does it mean to declare a member function as virtual?
When does the c++ compiler create temporary variables?
Define anonymous class.
Is main a class in c++?
How important is c++?
What is the use of volatile variable?
What is the full form of dos?